Game Development Reference
Figure 13.9 Visual Studio 2005 integrated code analysis configuration.
Figure 13.10 Code analysis results in the error list window.
Perhaps the best place to learn the art of building FxCop rules is by disassembling
the built-in rules provided by Microsoft. You can do this by downloading Reflector
for .NET, an extremely useful tool written by Lutz Roeder, which allows you to
browse classes and disassemble non-obfuscated code into a humanly readable format.
You can download Reflector for .NET at http://www.aisto.com/roeder/dotnet/.