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)
198thenClause: F.Goto(_currentDisposalLabel)); 281F.Goto(_exprReturnLabelTrue)); 317F.Goto(_currentDisposalLabel));
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
297return F.Goto(_exitLabel); 649F.Goto(_exprReturnLabel)); 652return F.Goto(_exprReturnLabel);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
262F.Goto(breakLabel)); 298var gotoExit = F.Goto(_exitLabel); 431bodyStatements.Add(F.Goto(dropThrough)); 447bodyStatements.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)
245select F.SwitchSection(kv.Value.SelectAsArray(state => (int)state), F.Goto(kv.Key));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
445F.Goto(thisInitialized));
Lowering\SyntheticBoundNodeFactory.cs (1)
948statements.Add(Goto(afterif));