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