10 instantiations of BoundGotoStatement
Microsoft.CodeAnalysis.CSharp (10)
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_IfStatement.cs (1)
92builder.Add(new BoundGotoStatement(syntax, afterif));
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (2)
68BoundStatement gotoContinue = new BoundGotoStatement(syntax, continueLabel); 153new BoundGotoStatement(syntax, continueLabel))),
Lowering\SyntheticBoundNodeFactory.cs (1)
1173return 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)
3239public 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)
184public 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); 9075return VisitGotoStatement((BoundGotoStatement)node, arg); 9424public virtual R VisitGotoStatement(BoundGotoStatement node, A arg) => this.DefaultVisit(node, arg); 9660public virtual BoundNode? VisitGotoStatement(BoundGotoStatement node) => this.DefaultVisit(node); 10240public override BoundNode? VisitGotoStatement(BoundGotoStatement node) 11491public override BoundNode? VisitGotoStatement(BoundGotoStatement node) 16027public 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)
297var gotoExit = F.Goto(_exitLabel); 302gotoExit = (BoundGotoStatement)VisitGotoStatement(gotoExit); 342public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
13public override BoundNode VisitGotoStatement(BoundGotoStatement node)
Lowering\SyntheticBoundNodeFactory.cs (1)
1171public 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)