24 references to WRN_CLS_BadIdentifierCase
Microsoft.CodeAnalysis.CSharp (5)
Compiler\ClsComplianceChecker.cs (2)
889
this.AddDiagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, symbol.Locations[0], symbol);
914
this.AddDiagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, symbol.Locations[0], symbol);
Errors\ErrorFacts.cs (2)
373
case ErrorCode.
WRN_CLS_BadIdentifierCase
:
1462
case 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)
2146
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "@a").WithArguments("a").WithLocation(5, 14));
2165
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "@a").WithArguments("a<T>").WithLocation(5, 14));
2186
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("C.m()"));
2207
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "p").WithArguments("C.p"),
2210
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get").WithArguments("C.p.get"),
2213
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set").WithArguments("C.p.set"));
2243
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "finalize").WithArguments("C.finalize()"),
2246
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_explicit").WithArguments("C.op_explicit(C)"),
2249
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_implicit").WithArguments("C.op_implicit(C)"),
2252
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "op_unaryplus").WithArguments("C.op_unaryplus(C)"));
2278
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get_item").WithArguments("C.get_item()"),
2281
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set_item").WithArguments("C.set_item()"),
2284
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "get_p").WithArguments("C.get_p()"),
2287
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "set_p").WithArguments("C.set_p()"));
2329
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "p").WithArguments("C.p(int)"));
2971
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
2977
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
2984
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "m").WithArguments("Derived.m()"));
Symbols\SymbolErrorTests.cs (1)
18833
Diagnostic(ErrorCode.
WRN_CLS_BadIdentifierCase
, "A1").WithArguments("a.A1"));