30 references to ERR_V6SwitchGoverningTypeValueExpected
Microsoft.CodeAnalysis.CSharp (2)
Binder\SwitchBinder.cs (1)
428diagnostics.Add(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, node.Location);
Errors\ErrorFacts.cs (1)
737or ErrorCode.ERR_V6SwitchGoverningTypeValueExpected
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (28)
Semantics\SemanticErrorTests.cs (1)
4297Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(18, 15),
Semantics\SwitchTests.cs (27)
440Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "test").WithLocation(9, 17) 596Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(17, 16)); 636Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(17, 16) 678Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(17, 16) 728Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(17, 16) 782Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(27, 16)); 835Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(27, 16) 923Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(13, 16) 962Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "C").WithLocation(14, 16) 1040Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "o").WithLocation(6, 17), 1463Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "b1.F()").WithLocation(20, 17) 1514Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(28, 20) 1565Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "aNullable"), 1568Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a")); 1618Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 1669Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 1720Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(28, 20) 1771Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(28, 20) 1828Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(34, 20) 1886Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "aNullable"), 1889Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 1946Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 2003Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "aNullable"), 2006Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 2070Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "aNullable"), 2073Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a") 2230Diagnostic(ErrorCode.ERR_V6SwitchGoverningTypeValueExpected, "a").WithLocation(29, 21)