We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f711ee + d2dc327 commit 4e5fe43Copy full SHA for 4e5fe43
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1130UseLambdaSyntax.cs
@@ -76,7 +76,7 @@ private static void HandleAnonymousMethodExpression(SyntaxNodeAnalysisContext co
76
}
77
78
79
- context.ReportDiagnostic(Diagnostic.Create(Descriptor, anonymousMethod.GetLocation()));
+ context.ReportDiagnostic(Diagnostic.Create(Descriptor, anonymousMethod.DelegateKeyword.GetLocation()));
80
81
82
0 commit comments