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)
197thenClause: F.Goto(_currentDisposalLabel)); 280F.Goto(_exprReturnLabelTrue)); 316F.Goto(_currentDisposalLabel));
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
296return F.Goto(_exitLabel); 648F.Goto(_exprReturnLabel)); 651return F.Goto(_exprReturnLabel);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
261F.Goto(breakLabel)); 297var gotoExit = F.Goto(_exitLabel); 430bodyStatements.Add(F.Goto(dropThrough)); 446bodyStatements.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)
244select F.SwitchSection(kv.Value.SelectAsArray(state => (int)state), F.Goto(kv.Key));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
445F.Goto(thisInitialized));
Lowering\SyntheticBoundNodeFactory.cs (1)
1004statements.Add(Goto(afterif));