rspec/rules/S1309/csharp/rule.adoc

21 lines
431 B
Plaintext

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
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]