Throw exception where the class was instantiated - C# -


i developing library used programmers. when throwing exception, debugger goes exception thrown, , not class instantiated or method executed.

with try .. catch can solved, if programmer using library not open try .. catch? see code! how can avoid this?

he see code!

well yes, if distribute code. if don't, how expect code seen? don't forget you're in different situation developers using library, have source code on machine. try same dll on machine doesn't have source code.

the developer may see decompiled version of code, perhaps - such great problem? if so, should @ obfuscating code - aware that comes logistical downsides too.

i suspect isn't problem.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -