14 instantiations of BoundGotoStatement
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Statements.vb (1)
812Return New BoundGotoStatement(node, symbol, boundLabel, hasErrors:=hasErrors)
Generated\BoundNodes.xml.Generated.vb (1)
6612Dim result = New BoundGotoStatement(Me.Syntax, label, labelExpressionOpt, Me.HasErrors)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1352node = New BoundGotoStatement(node.Syntax, node.Label, node.LabelExpressionOpt, True)
Lowering\LocalRewriter\LocalRewriter_Continue.vb (1)
15Dim boundGoto As BoundStatement = New BoundGotoStatement(node.Syntax, node.Label, Nothing)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (2)
200New BoundGotoStatement(syntax.DoStatement, startLabel, Nothing), 209New BoundGotoStatement(node.Syntax, startLabel, Nothing),
Lowering\LocalRewriter\LocalRewriter_Exit.vb (1)
15Dim boundGoto As BoundStatement = New BoundGotoStatement(node.Syntax, node.Label, Nothing)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
260gotoPostIncrement = New BoundGotoStatement(blockSyntax, postIncrementLabel, Nothing)
Lowering\LocalRewriter\LocalRewriter_If.vb (1)
205New BoundGotoStatement(syntaxNode, afterif, Nothing),
Lowering\LocalRewriter\LocalRewriter_Return.vb (2)
81Dim jump As BoundStatement = New BoundGotoStatement(syntaxNode, node.ExitLabelOpt, Nothing) 89Return New BoundGotoStatement(node.Syntax, node.ExitLabelOpt, Nothing)
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (1)
453_unstructuredExceptionHandling.ResumeTargets.Add(New BoundGotoStatement(syntax, targetResumeLabel, Nothing))
Lowering\LocalRewriter\LocalRewriter_While.vb (1)
131Dim gotoContinue As BoundStatement = New BoundGotoStatement(statementSyntax, continueLabel, Nothing)
Lowering\SyntheticBoundNodeFactory.vb (1)
742Dim boundNode = New BoundGotoStatement(_syntax, label, Nothing)
45 references to BoundGotoStatement
Microsoft.CodeAnalysis.VisualBasic (45)
Analysis\FlowAnalysis\AbstractFlowPass.NestedTypes.vb (1)
96Return CType(Branch, BoundGotoStatement).Label
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
453Return DirectCast(branch, BoundGotoStatement).Label 2489Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode
Analysis\FlowAnalysis\ExitPointsWalker.vb (1)
105If _labelsInside.Contains((TryCast((pending.Branch), BoundGotoStatement)).Label) Then
BoundTree\BoundTreeVisitor.vb (1)
108Return VisitGotoStatement(CType(node, BoundGotoStatement), arg)
CodeGen\EmitStatement.vb (3)
49EmitGotoStatement(DirectCast(statement, BoundGotoStatement)) 847Private Sub EmitGotoStatement(boundGotoStatement As BoundGotoStatement) 1412Private Sub EmitSwitch(jumps As ImmutableArray(Of BoundGotoStatement))
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
789Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode
Generated\BoundNodes.xml.Generated.vb (17)
6610Public Function Update(label As LabelSymbol, labelExpressionOpt As BoundLabel) As BoundGotoStatement 8530Public Sub New(syntax As SyntaxNode, value As BoundExpression, jumps As ImmutableArray(Of BoundGotoStatement), Optional hasErrors As Boolean = False) 8553Private ReadOnly _Jumps As ImmutableArray(Of BoundGotoStatement) 8554Public ReadOnly Property Jumps As ImmutableArray(Of BoundGotoStatement) 8565Public Function Update(value As BoundExpression, jumps As ImmutableArray(Of BoundGotoStatement)) As BoundUnstructuredExceptionOnErrorSwitch 8578Public Sub New(syntax As SyntaxNode, resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement), Optional hasErrors As Boolean = False) 8619Private ReadOnly _Jumps As ImmutableArray(Of BoundGotoStatement) 8620Public ReadOnly Property Jumps As ImmutableArray(Of BoundGotoStatement) 8631Public Function Update(resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of BoundGotoStatement)) As BoundUnstructuredExceptionResumeSwitch 9553Return VisitGotoStatement(CType(node, BoundGotoStatement), arg) 10153Public Overridable Function VisitGotoStatement(node As BoundGotoStatement, arg As A) As R 10856Public Overridable Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode 11721Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode 12763Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode 13005Dim jumps As ImmutableArray(Of BoundGotoStatement) = Me.VisitList(node.Jumps) 13013Dim jumps As ImmutableArray(Of BoundGotoStatement) = Me.VisitList(node.Jumps) 14125Public Overrides Function VisitGotoStatement(node As BoundGotoStatement, arg As Object) As TreeDumperNode
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
330Public Overrides Function InstrumentGotoStatement(original As BoundGotoStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\CompoundInstrumenter.vb (1)
51Public Overrides Function InstrumentGotoStatement(original As BoundGotoStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (1)
56Public Overrides Function InstrumentGotoStatement(original As BoundGotoStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\Instrumenter.vb (1)
59Public Overridable Function InstrumentGotoStatement(original As BoundGotoStatement, rewritten As BoundStatement) As BoundStatement
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (4)
69Friend gotoBlock As Dictionary(Of BoundGotoStatement, BoundNode) = New Dictionary(Of BoundGotoStatement, BoundNode)() 515Private Shared Function MayParticipateInIllegalBranch(node As BoundGotoStatement) As Boolean 526Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1322Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode
Lowering\LocalRewriter\LocalRewriter_Goto.vb (1)
14Public Overrides Function VisitGotoStatement(node As BoundGotoStatement) As BoundNode
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (6)
24Public ExceptionHandlers As ArrayBuilder(Of BoundGotoStatement) 25Public ResumeTargets As ArrayBuilder(Of BoundGotoStatement) 140_unstructuredExceptionHandling.ExceptionHandlers = ArrayBuilder(Of BoundGotoStatement).GetInstance() 157_unstructuredExceptionHandling.ResumeTargets = ArrayBuilder(Of BoundGotoStatement).GetInstance() 181Dim resumeSwitchJumps(1 + _unstructuredExceptionHandling.ResumeTargets.Count - 1) As BoundGotoStatement 220Dim onErrorSwitchJumps(2 + _unstructuredExceptionHandling.ExceptionHandlers.Count - 1) As BoundGotoStatement
Lowering\SyntheticBoundNodeFactory.vb (1)
741Public Function [Goto](label As LabelSymbol, Optional setWasCompilerGenerated As Boolean = True) As BoundGotoStatement
Operations\VisualBasicOperationFactory.vb (2)
198Return CreateBoundGotoStatementOperation(DirectCast(boundNode, BoundGotoStatement)) 1386Private Function CreateBoundGotoStatementOperation(boundGotoStatement As BoundGotoStatement) As IBranchOperation