Skip to content

Commit 85df246

Browse files
author
Carlos dos Santos
authored
Merge pull request #901 from sdygert/TaskNameAsyncAnalyzer
Fixed grammar in TaskNameAsyncAnalyzer #839
2 parents 71a1ee8 + 5c769f3 commit 85df246

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CSharp/CodeCracker/Style/TaskNameAsyncAnalyzer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ namespace CodeCracker.CSharp.Style
1010
[DiagnosticAnalyzer(LanguageNames.CSharp)]
1111
public class TaskNameAsyncAnalyzer : DiagnosticAnalyzer
1212
{
13-
internal const string Title = "Async method can be terminating with 'Async' name.";
13+
internal const string Title = "Asynchronous method can be terminated with the 'Async' keyword.";
1414
internal const string MessageFormat = "Change method name to {0}";
1515
internal const string Category = SupportedCategories.Style;
16-
const string Description = "Async method can be terminating with 'Async' name.";
16+
const string Description = "Asynchronous method can be terminated with the 'Async' keyword.";
1717

1818
internal static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(
1919
DiagnosticId.TaskNameAsync.ToDiagnosticId(),
@@ -55,4 +55,4 @@ private static void AnalyzeMethod(SyntaxNodeAnalysisContext context)
5555
context.ReportDiagnostic(diag);
5656
}
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)