You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Naming/UseUnderscoreForUnusedLambdaParameterSpecs.cs
+99Lines changed: 99 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,105 @@ public sealed class UseUnderscoreForUnusedLambdaParameterSpecs : CSharpGuideline
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/UseUnderscoreForUnusedLambdaParameterAnalyzer.cs
+19-15Lines changed: 19 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
usingCSharpGuidelinesAnalyzer.Extensions;
5
5
usingJetBrains.Annotations;
6
6
usingMicrosoft.CodeAnalysis;
7
+
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
7
8
usingMicrosoft.CodeAnalysis.Diagnostics;
8
9
usingMicrosoft.CodeAnalysis.Operations;
9
10
@@ -15,7 +16,7 @@ public sealed class UseUnderscoreForUnusedLambdaParameterAnalyzer : DiagnosticAn
15
16
publicconststringDiagnosticId="AV1739";
16
17
17
18
privateconststringTitle="Unused lambda parameter should be renamed to underscore(s)";
18
-
privateconststringMessageFormat="Unused lambda parameter '{0}' should be renamed to underscore(s).";
19
+
privateconststringMessageFormat="Unused {0} parameter '{1}' should be renamed to underscore(s).";
19
20
privateconststringDescription="Use an underscore for irrelevant lambda parameters.";
0 commit comments