8 references to WRN_BadRefCompareLeft
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
294
case ErrorCode.
WRN_BadRefCompareLeft
:
820
or ErrorCode.
WRN_BadRefCompareLeft
Generated\ErrorFacts.Generated.cs (1)
25
case ErrorCode.
WRN_BadRefCompareLeft
:
Lowering\DiagnosticsPass_Warnings.cs (1)
333
_diagnostics.Add(ErrorCode.
WRN_BadRefCompareLeft
, node.Syntax.Location, t);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleEqualityTests.cs (1)
3089
Diagnostic(ErrorCode.
WRN_BadRefCompareLeft
, "o == s").WithArguments("string").WithLocation(10, 18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (3)
19753
Diagnostic(ErrorCode.
WRN_BadRefCompareLeft
, "o == s").WithArguments("string")
19860
Diagnostic(ErrorCode.
WRN_BadRefCompareLeft
, "a1 == a2").WithArguments("Symbol"),
19863
Diagnostic(ErrorCode.
WRN_BadRefCompareLeft
, "a1 != a2").WithArguments("Symbol"),