5 references to ERR_InvalidGotoCase
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
534
Error(diagnostics, ErrorCode.
ERR_InvalidGotoCase
, node);
Errors\ErrorFacts.cs (1)
739
or ErrorCode.
ERR_InvalidGotoCase
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_InvalidStatement.cs (1)
441
Diagnostic(ErrorCode.
ERR_InvalidGotoCase
, "goto case 1;").WithLocation(8, 19)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
4353
Diagnostic(ErrorCode.
ERR_InvalidGotoCase
, "goto case 5;").WithLocation(6, 7));
4379
Diagnostic(ErrorCode.
ERR_InvalidGotoCase
, "goto default;").WithLocation(14, 9));