Roslyn CTP–Syntax Tree–Part II–Singleton Checker(sankarsan.wordpress.com)

submitted by sankarsansankarsan(460) 6 months, 5 days ago

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....

2 comments |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 6 months, 4 days ago 0

Seems like Roslyn will be very nice for catching the kinds of things you can't easily catch in FXcop

Reply

posted by NoldorinNoldorin(829) replied to dpetersondpeterson(4397), 6 months, 4 days ago 0

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.

Reply

information Login or create an account to comment on this story