9 instantiations of BoundGotoStatement
Microsoft.CodeAnalysis.CSharp (9)
Generated\BoundNodes.xml.Generated.cs (1)
4731var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
15BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
15BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (3)
104BoundStatement gotoEnd = new BoundGotoStatement(syntax, endLabel); 141branchBack = new BoundGotoStatement(syntax, startLabel); 263blockBuilder.Add(new BoundGotoStatement(syntax, startLabel));
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (2)
68BoundStatement gotoContinue = new BoundGotoStatement(syntax, continueLabel); 153new BoundGotoStatement(syntax, continueLabel))),
Lowering\SyntheticBoundNodeFactory.cs (1)
1117return new BoundGotoStatement(Syntax, label) { WasCompilerGenerated = true };
35 references to BoundGotoStatement
Microsoft.CodeAnalysis.CSharp (35)
BoundTree\BoundNode_Source.cs (1)
160case BoundGotoStatement gotoStatement:
BoundTree\BoundTreeVisitors.cs (1)
108return VisitGotoStatement(node as BoundGotoStatement, arg);
CodeGen\EmitStatement.cs (3)
72EmitGotoStatement((BoundGotoStatement)statement); 638private void EmitGotoStatement(BoundGotoStatement boundGotoStatement) 1952public override BoundNode VisitGotoStatement(BoundGotoStatement node)
CodeGen\Optimizer.cs (1)
1399public override BoundNode VisitGotoStatement(BoundGotoStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
3329public override BoundNode VisitGotoStatement(BoundGotoStatement node)
FlowAnalysis\ControlFlowPass.cs (2)
220Diagnostics.Add(ErrorCode.ERR_LabelNotFound, loc, ((BoundGotoStatement)pending.Branch).Label.Name); 336public override BoundNode VisitGotoStatement(BoundGotoStatement node)
FlowAnalysis\ExitPointsWalker.cs (1)
128if (_labelsInside.Contains(((BoundGotoStatement)pending.Branch).Label)) continue;
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
243public override BoundNode? VisitGotoStatement(BoundGotoStatement node)
Generated\BoundNodes.xml.Generated.cs (8)
4727public BoundGotoStatement Update(LabelSymbol label, BoundExpression? caseExpressionOpt, BoundLabel? labelExpressionOpt) 4731var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.HasErrors); 9077return VisitGotoStatement((BoundGotoStatement)node, arg); 9426public virtual R VisitGotoStatement(BoundGotoStatement node, A arg) => this.DefaultVisit(node, arg); 9662public virtual BoundNode? VisitGotoStatement(BoundGotoStatement node) => this.DefaultVisit(node); 10242public override BoundNode? VisitGotoStatement(BoundGotoStatement node) 11493public override BoundNode? VisitGotoStatement(BoundGotoStatement node) 16029public override TreeDumperNode VisitGotoStatement(BoundGotoStatement node, object? arg) => new TreeDumperNode("gotoStatement", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
360public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (2)
278/// for each Scope. This is done by looking for <see cref="BoundGotoStatement"/>s 529public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
344public override BoundStatement InstrumentGotoStatement(BoundGotoStatement original, BoundStatement rewritten)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
64public override BoundStatement InstrumentGotoStatement(BoundGotoStatement original, BoundStatement rewritten)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
158public override BoundStatement InstrumentGotoStatement(BoundGotoStatement original, BoundStatement rewritten)
Lowering\Instrumentation\Instrumenter.cs (1)
91public virtual BoundStatement InstrumentGotoStatement(BoundGotoStatement original, BoundStatement rewritten)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
115public override BoundStatement InstrumentGotoStatement(BoundGotoStatement original, BoundStatement rewritten)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
298var gotoExit = F.Goto(_exitLabel); 303gotoExit = (BoundGotoStatement)VisitGotoStatement(gotoExit); 343public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
13public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\SyntheticBoundNodeFactory.cs (1)
1115public BoundGotoStatement Goto(LabelSymbol label)
Lowering\UnmatchedGotoFinder.cs (1)
66public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Operations\CSharpOperationFactory.cs (2)
171return CreateBoundGotoStatementOperation((BoundGotoStatement)boundNode); 1786private IBranchOperation CreateBoundGotoStatementOperation(BoundGotoStatement boundGotoStatement)