Skip to content

Commit 5e0c024

Browse files
authored
Add clarification to SuppressMessageAttribute (#4055)
I see `// SuppressMessage attributes do not apply to compiler diagnostics.` in Roslyn, but I think it is useful to make that clear in the documentation. Tagging @BillWagner
1 parent 1630aae commit 5e0c024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</Attribute>
4545
</Attributes>
4646
<Docs>
47-
<summary>Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact.</summary>
47+
<summary>Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact. Does not apply to compiler diagnostics.</summary>
4848
<remarks>
4949
<format type="text/markdown"><![CDATA[
5050

0 commit comments

Comments
 (0)