7 references to WRN_BadRefCompareRight
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
295case ErrorCode.WRN_BadRefCompareRight: 821or ErrorCode.WRN_BadRefCompareRight
Generated\ErrorFacts.Generated.cs (1)
26case ErrorCode.WRN_BadRefCompareRight:
Lowering\DiagnosticsPass_Warnings.cs (1)
338_diagnostics.Add(ErrorCode.WRN_BadRefCompareRight, node.Syntax.Location, t);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (3)
19866Diagnostic(ErrorCode.WRN_BadRefCompareRight, "a2 == a1").WithArguments("Symbol"), 19869Diagnostic(ErrorCode.WRN_BadRefCompareRight, "a2 != a1").WithArguments("Symbol") 19894Diagnostic(ErrorCode.WRN_BadRefCompareRight, "s == o").WithArguments("string")