From 61320adeffd684f16cd0a57a40a498de3efb07ce Mon Sep 17 00:00:00 2001 From: Julien Couvreur Date: Mon, 30 Mar 2020 21:22:29 -0700 Subject: [PATCH] Add clarification to SuppressMessageAttribute 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 --- .../SuppressMessageAttribute.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml index 66cced84c42..20cc25439fd 100644 --- a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml @@ -44,7 +44,7 @@ - Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact. + Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact. Does not apply to compiler diagnostics.