I\'m switching back and forth between Java and C# and one thing I miss while I\'m coding in C# is the enforced exception checking (Although I admit I also find it really irr
Yes. Run the free Microsoft Pex on your code. It will show all possible exceptions that can be thrown.
Get Exceptional website is one possibility. Basic idea is that you create software and all exceptions are sent to this site to your account where you can pick them up. Of course it doesn't read your code and see what exceptions are there.
I don't know if there is C# library yet but the API is not too hard.
While I understand the enforced exceptions thing, I'm not sure how genuinely essential it is... for example, most interesting exceptions are those that you wouldn't normally include (or even expect). For example, I'm currently fighting what looks very much like a CLI bug in CF35, intermittently raising MethodMissingException
from code that really does exist (emphasis: intermittently).
If you want to document your exceptions, use the ///<exception ... >...</exception>
markup. For other thoughts on this theme, perhaps see Vexing Exceptions (I wonder if GhostDoc might help any?)