Checking for Thrown Exceptions in Finally Blocks
Yesterday I saw this post from Jason on throwing exceptions from a
finally block and why this is something you should avoid if at all possible. This got me to thinking about how this could be enforced by my Extensible Compiler for .NET, so I whipped up a new rule called
DoNotThrowExceptionsFromFinallyBlocksRule. The ZIP file contains the new rule along with some very minor bug fixes - enjoy!
* Posted at 03.23.2005 08:47:01 AM CST | Link *