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