7 references to WRN_BadRefCompareRight
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
282case ErrorCode.WRN_BadRefCompareRight: 760case 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)
19642Diagnostic(ErrorCode.WRN_BadRefCompareRight, "a2 == a1").WithArguments("Symbol"), 19645Diagnostic(ErrorCode.WRN_BadRefCompareRight, "a2 != a1").WithArguments("Symbol") 19670Diagnostic(ErrorCode.WRN_BadRefCompareRight, "s == o").WithArguments("string")