24 references to WRN_CLS_BadIdentifierCase
Microsoft.CodeAnalysis.CSharp (5)
Compiler\ClsComplianceChecker.cs (2)
896
this.AddDiagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, symbol.GetFirstLocation(), symbol);
921
this.AddDiagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, symbol.GetFirstLocation(), symbol);
Errors\ErrorFacts.cs (2)
386
case ErrorCode.
WRN_CLS_BadIdentifierCase
:
1523
or ErrorCode.
WRN_CLS_BadIdentifierCase
Generated\ErrorFacts.Generated.cs (1)
129
case ErrorCode.
WRN_CLS_BadIdentifierCase
:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (19)
Symbols\Source\ClsComplianceTests.cs (18)
2145
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "@a").WithArguments("a").WithLocation(5, 14));
2164
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "@a").WithArguments("a<T>").WithLocation(5, 14));
2185
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("C.m()"));
2206
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "p").WithArguments("C.p"),
2209
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get").WithArguments("C.p.get"),
2212
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set").WithArguments("C.p.set"));
2242
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "finalize").WithArguments("C.finalize()"),
2245
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_explicit").WithArguments("C.op_explicit(C)"),
2248
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_implicit").WithArguments("C.op_implicit(C)"),
2251
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_unaryplus").WithArguments("C.op_unaryplus(C)"));
2277
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get_item").WithArguments("C.get_item()"),
2280
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set_item").WithArguments("C.set_item()"),
2283
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get_p").WithArguments("C.get_p()"),
2286
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set_p").WithArguments("C.set_p()"));
2328
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "p").WithArguments("C.p(int)"));
2970
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
2976
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
2983
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
Symbols\SymbolErrorTests.cs (1)
18978
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "A1").WithArguments("a.A1"));