If writing my own static code analysis rules (for C# code), what are the pros and cons of using StyleCop vs FxCop?
Our codebase has a lot of threading restrictions encoded in comments - such as: This class is thread-safe (all public methods may be safely accessed from any thread)
I tried to suppress a particular FxCop warning for a metho开发者_Python百科d defined in an interface by adding SuppressMessage attribute to the method. But the warning still appears. I know the Suppre
First, 开发者_如何学Go I was trying to do something like : class Class1 { public void Do() { } } class Class2
Is it possible to change the language of the FxCop dictionary to something other than English? How ca开发者_如何学运维n it be done?FxCop comes with its own dictionary. You can add custom dictionaries
FxCop wants me to spell Username with a capital N (i.e. UserName), due to it being a compound word. However, due to consistency reasons we need to spell it with a lowercase n - so either username or U
Microsoft\'s FxCop tool uses the introspection API. This introspection API could be used to develop new code analysis tools. But the introspection api is not documented well. Additionally, I was not a
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
FWIW: Windows 7 64bit, Compact Framework v3.5, FxCop v1.36 (running fxcopcmd.exe) I\'m having problems getting FxCop 1.36 to run correctly. I\'m analyzing a compact framework application with the glo
I would like to avoid instanciating certain class with new, and force to use the factory class. But I don\'t understand how to do that.