From 7f342a1e8b175e44c2e15b6805e12b7e2a48cab3 Mon Sep 17 00:00:00 2001 From: Martin Taillefer Date: Thu, 10 Aug 2023 12:41:45 -0700 Subject: [PATCH] Add more attributes to strip away from generated API reviews --- eng/Tools/ApiChief/Processing/PublicFilterVisitor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/Tools/ApiChief/Processing/PublicFilterVisitor.cs b/eng/Tools/ApiChief/Processing/PublicFilterVisitor.cs index f9c4bfb8eb1..e55924c3055 100644 --- a/eng/Tools/ApiChief/Processing/PublicFilterVisitor.cs +++ b/eng/Tools/ApiChief/Processing/PublicFilterVisitor.cs @@ -79,7 +79,9 @@ public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration) || s.Contains("ExcludeFromCodeCoverage") || s.Contains("DebuggerStepThrough") || s.Contains("SuppressMessage") + || s.Contains("UnconditionalSuppressMessage") || s.Contains("DynamicDependency") + || s.Contains("RequiresUnreferencedCode") || s.Contains("AsyncStateMachine")) #pragma warning restore S1067 {