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

↑ Back to top