tags:

views:

353

answers:

4

Which FxCop rules do you most value? Which rules highlight the best .Net gotchas?

+4  A: 

My favorite FxCop rules are the ones that don't give me errors when compiling my code.

casperOne
+1  A: 

Which FxCop rules do you most value?

The one I am going to write to stop developers from using #defines instead of configuration (http://stackoverflow.com/questions/473354/quote-needed-preprocessor-usage-is-bad-oo-practice). And I like almost all of the design rules.

tobsen
A: 

The ones I value the most, and which highlight the gotchas, are the Performance rules.

Austin Salonen
+2  A: 

I find some of the usage and design rules particularly helpful. I can never remember the details of how to implement the IDisposable or ISerializable interfaces, so I appreciate the gentle reminders from rules like these:

Don Kirkby