35 references to Goto
Microsoft.CodeAnalysis.CSharp (35)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
91F.Goto(start), 115F.Goto(again)))), 178F.Goto(start), 208F.Goto(again)),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (8)
197_F.Goto(finallyLabel), 293bodyStatements.Add(_F.Goto(finallyLabel)); 315var caseStatement = _F.SwitchSection(i, _F.Goto(parentProxy)); 341unpendReturn = _F.Goto(returnLabel); 349_F.Goto(returnLabel)); 394_F.Goto( 399return _F.Goto(returnLabel); 495_F.Goto(handledLabel))));
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (3)
209thenClause: F.Goto(_currentDisposalLabel)); 292F.Goto(_exprReturnLabelTrue)); 328F.Goto(_currentDisposalLabel));
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
300return F.Goto(_exitLabel); 663F.Goto(_exprReturnLabel)); 666return F.Goto(_exprReturnLabel);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
270F.Goto(breakLabel)); 306var gotoExit = F.Goto(_exitLabel); 439bodyStatements.Add(F.Goto(dropThrough)); 455bodyStatements.Add(F.Goto(parentProxy));
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (8)
381_loweredDecisionDag.Add(_factory.Goto(GetDagNodeLabel(firstNode))); 490_loweredDecisionDag.Add(_factory.Goto(GetDagNodeLabel(whenFalse))); 663_loweredDecisionDag.Add(_factory.Goto(leaf.Label)); 833_loweredDecisionDag.Add(_factory.Goto(defaultLabel)); 1104whenFalseSwitchSections.Add(_factory.SwitchSection(whenNodeIdentifier, _factory.Goto(GetDagNodeLabel(whenNode.WhenFalse)))); 1167BoundStatement jump = _factory.Goto(GetDagNodeLabel(whenFalse)); 1173sectionBuilder.Add(_factory.Goto(trueLabel)); 1218_loweredDecisionDag.Add(_factory.Goto(GetDagNodeLabel(evaluationNode.Next)));
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
128resultBuilder.Add(_factory.Goto(afterIsPatternExpression));
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
102sectionBuilder.Add(_factory.Goto(afterSwitchExpression));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
250select F.SwitchSection(kv.Value.SelectAsArray(state => (int)state), F.Goto(kv.Key));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
449F.Goto(thisInitialized));
Lowering\SyntheticBoundNodeFactory.cs (1)
948statements.Add(Goto(afterif));