5 references to ERR_InvalidGotoCase
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
531
Error(diagnostics, ErrorCode.
ERR_InvalidGotoCase
, node);
Errors\ErrorFacts.cs (1)
678
case 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)
4355
Diagnostic(ErrorCode.
ERR_InvalidGotoCase
, "goto case 5;").WithLocation(6, 7));
4381
Diagnostic(ErrorCode.
ERR_InvalidGotoCase
, "goto default;").WithLocation(14, 9));