Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Suppress Warnings Using SuppressMessage Attribute

It is often useful to indicate that the warning is non-applicable to let the team members know that the code was reviewed and it was determined that the warning should be suppressed. In Source Suppression (ISS) allows a developer to place the code that suppresses a warning close to the warning itself.

In Source Suppression Overview

Learn about In Source Suppression (ISS) and how to use it in your code.

How to: Suppress Warnings Using Menu Item

Learn to use suppress warnings from within the IDE by using the shortcut menu.

Community Additions

ADD
Show:
© 2015 Microsoft