Skip to content

Commit 073124b

Browse files
Bart KoelmanBart Koelman
authored andcommitted
Fixed: Added 'be' verb to AV1715
1 parent d3d853f commit 073124b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/NamePropertyWithAnAffirmativePhraseAnalyzer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public sealed class NamePropertyWithAnAffirmativePhraseAnalyzer : DiagnosticAnal
3131
ImmutableArray.Create(SymbolKind.Property, SymbolKind.Method, SymbolKind.Field);
3232

3333
[ItemNotNull]
34-
private static readonly ImmutableArray<string> WordsWhitelist = ImmutableArray.Create("Are", "Is", "Was", "Were", "Has",
35-
"Have", "Can", "Could", "Shall", "Should", "May", "Might", "Will", "Need", "Needs", "Allow", "Allows", "Support",
36-
"Supports", "Do", "Does", "Did", "Hide", "Hides", "Contain", "Contains", "Require", "Requires", "Return", "Returns",
37-
"Starts", "Consists", "Targets");
34+
private static readonly ImmutableArray<string> WordsWhitelist = ImmutableArray.Create("Are", "Be", "Is", "Was", "Were",
35+
"Has", "Have", "Can", "Could", "Shall", "Should", "May", "Might", "Will", "Need", "Needs", "Allow", "Allows",
36+
"Support", "Supports", "Do", "Does", "Did", "Hide", "Hides", "Contain", "Contains", "Require", "Requires", "Return",
37+
"Returns", "Starts", "Consists", "Targets");
3838

3939
[NotNull]
4040
private static readonly Action<SymbolAnalysisContext> AnalyzeMemberAction =

0 commit comments

Comments
 (0)