43 references to BoundGotoStatement
Microsoft.CodeAnalysis.VisualBasic (43)
Analysis\FlowAnalysis\AbstractFlowPass.NestedTypes.vb (1)
96
Return CType(Branch,
BoundGotoStatement
).Label
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
462
Return DirectCast(branch,
BoundGotoStatement
).Label
2505
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
Analysis\FlowAnalysis\ExitPointsWalker.vb (1)
106
If _labelsInside.Contains((TryCast((pending.Branch),
BoundGotoStatement
)).Label) Then
BoundTree\BoundTreeVisitor.vb (1)
108
Return VisitGotoStatement(CType(node,
BoundGotoStatement
), arg)
CodeGen\EmitStatement.vb (3)
49
EmitGotoStatement(DirectCast(statement,
BoundGotoStatement
))
847
Private Sub EmitGotoStatement(boundGotoStatement As
BoundGotoStatement
)
1413
Private Sub EmitSwitch(jumps As ImmutableArray(Of
BoundGotoStatement
))
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
789
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
Generated\BoundNodes.xml.Generated.vb (17)
6627
Public Function Update(label As LabelSymbol, labelExpressionOpt As BoundLabel) As
BoundGotoStatement
8547
Public Sub New(syntax As SyntaxNode, value As BoundExpression, jumps As ImmutableArray(Of
BoundGotoStatement
), Optional hasErrors As Boolean = False)
8570
Private ReadOnly _Jumps As ImmutableArray(Of
BoundGotoStatement
)
8571
Public ReadOnly Property Jumps As ImmutableArray(Of
BoundGotoStatement
)
8582
Public Function Update(value As BoundExpression, jumps As ImmutableArray(Of
BoundGotoStatement
)) As BoundUnstructuredExceptionOnErrorSwitch
8595
Public Sub New(syntax As SyntaxNode, resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of
BoundGotoStatement
), Optional hasErrors As Boolean = False)
8636
Private ReadOnly _Jumps As ImmutableArray(Of
BoundGotoStatement
)
8637
Public ReadOnly Property Jumps As ImmutableArray(Of
BoundGotoStatement
)
8648
Public Function Update(resumeTargetTemporary As BoundLocal, resumeLabel As BoundLabelStatement, resumeNextLabel As BoundLabelStatement, jumps As ImmutableArray(Of
BoundGotoStatement
)) As BoundUnstructuredExceptionResumeSwitch
9578
Return VisitGotoStatement(CType(node,
BoundGotoStatement
), arg)
10178
Public Overridable Function VisitGotoStatement(node As
BoundGotoStatement
, arg As A) As R
10881
Public Overridable Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
11746
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
12788
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
13030
Dim jumps As ImmutableArray(Of
BoundGotoStatement
) = Me.VisitList(node.Jumps)
13038
Dim jumps As ImmutableArray(Of
BoundGotoStatement
) = Me.VisitList(node.Jumps)
14153
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
, arg As Object) As TreeDumperNode
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
330
Public Overrides Function InstrumentGotoStatement(original As
BoundGotoStatement
, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\CompoundInstrumenter.vb (1)
51
Public Overrides Function InstrumentGotoStatement(original As
BoundGotoStatement
, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (1)
56
Public Overrides Function InstrumentGotoStatement(original As
BoundGotoStatement
, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\Instrumenter.vb (1)
59
Public Overridable Function InstrumentGotoStatement(original As
BoundGotoStatement
, rewritten As BoundStatement) As BoundStatement
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (4)
68
Friend gotoBlock As Dictionary(Of
BoundGotoStatement
, BoundNode) = New Dictionary(Of
BoundGotoStatement
, BoundNode)()
514
Private Shared Function MayParticipateInIllegalBranch(node As
BoundGotoStatement
) As Boolean
525
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1370
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_Goto.vb (1)
14
Public Overrides Function VisitGotoStatement(node As
BoundGotoStatement
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (6)
24
Public ExceptionHandlers As ArrayBuilder(Of
BoundGotoStatement
)
25
Public ResumeTargets As ArrayBuilder(Of
BoundGotoStatement
)
140
_unstructuredExceptionHandling.ExceptionHandlers = ArrayBuilder(Of
BoundGotoStatement
).GetInstance()
157
_unstructuredExceptionHandling.ResumeTargets = ArrayBuilder(Of
BoundGotoStatement
).GetInstance()
181
Dim resumeSwitchJumps(1 + _unstructuredExceptionHandling.ResumeTargets.Count - 1) As
BoundGotoStatement
220
Dim onErrorSwitchJumps(2 + _unstructuredExceptionHandling.ExceptionHandlers.Count - 1) As
BoundGotoStatement
Lowering\SyntheticBoundNodeFactory.vb (1)
745
Public Function [Goto](label As LabelSymbol, Optional setWasCompilerGenerated As Boolean = True) As
BoundGotoStatement