Showing posts with label FxCop. Show all posts
Showing posts with label FxCop. Show all posts

How to suppress code violations in FxCop?

Monday, September 28, 2009


You can suppress code violations in FxCop by providing using the attribute
System.Diagnostics.CodeAnalysis.SuppressMessage


www.codecollege.NET

What is the namespace used to interact with the code analysis tools in .NET?


System.Diagnostics.CodeAnalysis.


www.codecollege.NET

What is the use of CompilerGenerateAttribute in FxCop?


If this attribute is given to your code then FxCop will not raise warnings. Generally it is used to give for
compiler generated code.


www.codecollege.NET
Blog Widget by LinkWithin