← back to index

S1309 — Track uses of in-source issue suppressions

Language: C#  |  Type: CODE_SMELL  |  Severity: Info

Why is this an issue?

This rule allows you to track the usage of the SuppressMessage attributes and #pragma warning disable mechanism.

Noncompliant code example

[SuppressMessage("", "S100")]
...

#pragma warning disable S100
...
#pragma warning restore S100