Suppress Warnings Using SuppressMessage Attribute
The document is archived and information here might be outdated

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.

Show:
© 2016 Microsoft