Ahmed yesterday blogged about the new Microsoft Source Analysis Tool for C#. So I thought I'd have a look and try it out. So far, I am pretty impressed by it. And the fact that they are planning to automatically correct some of the rules will really help a lot.
To test it I ran it on the Data Application Block of the new Enterprise Library 4.0.
As you can see, you just right click on the solution, project or a cs file and the tool runs an analysis and produces the following result:
Apparently there are 200 rules, and you can switch them on or off using the Source Analysis Settings Editor (Settings can be set per project).
It would be great if you could create your own rules and add them to the tool.