We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36bd6ed commit eb24f6dCopy full SHA for eb24f6d
WpfAnalyzers/Suppressors/Sa1202Suppressor.cs
@@ -23,7 +23,7 @@ public override void ReportSuppressions(SuppressionAnalysisContext context)
23
{
24
switch (root.FindNode(diagnostic.Location.SourceSpan))
25
26
- case VariableDeclaratorSyntax { Parent: VariableDeclarationSyntax { Type: { } type } declaratorSyntax }
+ case VariableDeclaratorSyntax { Parent: VariableDeclarationSyntax { Type: { } type } }
27
when type == KnownSymbols.DependencyProperty:
28
context.ReportSuppression(Suppression.Create(Descriptor, diagnostic));
29
break;
0 commit comments