Roslyn CTP–Syntax Tree–Part II–Singleton Checker

added by sankarsan
11/21/2011 9:17:27 AM

2 Kicks, 279 Views

In the last post related to Roslyn we developed a very basic syntax walker. In this post we will see how we can use the same for code analysis and checking. As a good practice we generally try to avoid having instance members in a singleton class. This is true if you are making your business logic layer classes Singleton and would prefer to avoid mess up by multiple threads....


11/21/2011 9:17:56 AM
Seems like Roslyn will be very nice for catching the kinds of things you can't easily catch in FXcop

11/21/2011 9:15:56 PM
My bet is that FXcop will be rewritten to use Roslyn and will hence be amazing in the future. :-) No, really, I think it will.