Haiying,
Thanks for the clarification.
> FxCop will always ignore Compiler Generated code (
[System.Runtime.CompilerServices.CompilerGenerated()]).
Ok, so I am saying that this needs to be configurable because there are legitimate cases where FxCop must be able to analyze this code.
> Btw, why you are using CompilerGenerated instead of GeneratedCode? because it sounds like actually GeneratedCode.
It's not my code - it's Visual Studio's code. It comes from the ResXFileCodeGenerator (and others) that is used by Visual Studio to generate strongly typed resource classes. I need to be able to run FxCop rules over this code for the reasons given in my previous post.
Could you make this change ?
Thanks.
Guy