In this episode I talk about my favorite Microsoft .NET code analysis tool called CodeIt.Right from Submain.com. It combines static code analysis and automatic refactoring to best practices in one application. CodeIt.Right will automatically correct code errors and violations (e.g. naming conventions, incorrectly implemented coding patterns, etc)!
You can purchase the DVD mentioned in this episode at: http://mkt.com/nicheware/rock-your-code-dvd-v-1
You can purchase the book mentioned in this episode by going here: http://bit.ly/CSBook3
Discover more from dotNetTips.com
Subscribe to get the latest posts sent to your email.

Nice demonstration of a misguided way to kmplement IDisposable. Even from the short look at it, it was obvious an unused finalizer was created just for the sake of “doing it by the book”, not to mention a lock(this) which is an antipattern in it’s own right, and here used for no reason. Dispose doesn’t need to be “thread-safe” when all it does is call Dispose on a few other objects.
I know this was not the point of the demonstration, but for me it was a huge red flag.