Skip to content

Commit c8be599

Browse files
authored
Add "doc" to the blacklisted words (#157)
1 parent 8aab990 commit c8be599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/DoNotUseAbbreviationInIdentifierNameAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed class DoNotUseAbbreviationInIdentifierNameAnalyzer : DiagnosticAna
3333
[ItemNotNull]
3434
private static readonly ImmutableArray<string> WordsBlacklist = ImmutableArray.Create("Btn", "Ctrl", "Frm", "Chk", "Cmb", "Ctx", "Dg", "Pnl", "Dlg", "Ex",
3535
"Lbl", "Txt", "Mnu", "Prg", "Rb", "Cnt", "Tv", "Ddl", "Fld", "Lnk", "Img", "Lit", "Vw", "Gv", "Dts", "Rpt", "Vld", "Pwd", "Ctl", "Tm", "Mgr", "Flt",
36-
"Len", "Idx", "Str");
36+
"Len", "Idx", "Str", "Doc");
3737

3838
[NotNull]
3939
private static readonly Action<SymbolAnalysisContext> AnalyzeNamedTypeAction = context => context.SkipEmptyName(AnalyzeNamedType);

0 commit comments

Comments
 (0)