8 references to WRN_BadRefCompareLeft
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
294case ErrorCode.WRN_BadRefCompareLeft: 820or ErrorCode.WRN_BadRefCompareLeft
Generated\ErrorFacts.Generated.cs (1)
25case 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)
3089Diagnostic(ErrorCode.WRN_BadRefCompareLeft, "o == s").WithArguments("string").WithLocation(10, 18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (3)
19753Diagnostic(ErrorCode.WRN_BadRefCompareLeft, "o == s").WithArguments("string") 19860Diagnostic(ErrorCode.WRN_BadRefCompareLeft, "a1 == a2").WithArguments("Symbol"), 19863Diagnostic(ErrorCode.WRN_BadRefCompareLeft, "a1 != a2").WithArguments("Symbol"),