39 instantiations of BoundStatementList
Microsoft.CodeAnalysis.VisualBasic (39)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
255
Dim removalStatement = New
BoundStatementList
(syntax, eventRemovals.ToImmutableAndFree)
335
Dim addStatement = New
BoundStatementList
(syntax, eventAdds.ToImmutableAndFree())
Generated\BoundNodes.xml.Generated.vb (1)
6646
Dim result = New
BoundStatementList
(Me.Syntax, statements, Me.HasErrors)
Lowering\Instrumentation\DebugInfoInjector.vb (1)
333
Return New
BoundStatementList
(original.Syntax,
Lowering\LocalRewriter\LocalRewriter.vb (2)
410
Return New
BoundStatementList
(statement.Syntax, consequenceWithEnd.AsImmutableOrNull)
437
Return New
BoundStatementList
(statement.Syntax, ImmutableArray.Create(prologueOpt, statement))
Lowering\LocalRewriter\LocalRewriter_AsNewLocalDeclarations.vb (1)
112
Return New
BoundStatementList
(node.Syntax, builder.ToImmutableAndFree())
Lowering\LocalRewriter\LocalRewriter_DimStatement.vb (1)
29
Return New
BoundStatementList
(node.Syntax, inits.ToImmutableAndFree)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (5)
123
ifConditionGotoStart = New
BoundStatementList
(ifConditionGotoStart.Syntax, conditionResumeTarget.Add(ifConditionGotoStart))
127
Return New
BoundStatementList
(node.Syntax, ImmutableArray.Create(
137
Return New
BoundStatementList
(node.Syntax, ImmutableArray.Create(
195
Return New
BoundStatementList
(syntax, ImmutableArray.Create(
205
Return New
BoundStatementList
(syntax, ImmutableArray.Create(
Lowering\LocalRewriter\LocalRewriter_Erase.vb (1)
23
Return New
BoundStatementList
(node.Syntax, statements.ToImmutableAndFree())
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
149
Return New
BoundStatementList
(node.Syntax, rewrittenStatements.ToImmutableAndFree())
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (5)
230
boundCollectionAssignment = New
BoundStatementList
(boundCollectionAssignment.Syntax, loopResumeTarget.Add(boundCollectionAssignment))
437
epilogue = New
BoundStatementList
(statementSyntax, RegisterUnstructuredExceptionHandlingResumeTarget(statementSyntax, canThrow:=True))
445
incrementAssignment = New
BoundStatementList
(statementSyntax, ImmutableArray.Create(epilogue, incrementAssignment))
578
boundEnumeratorAssignment = New
BoundStatementList
(boundEnumeratorAssignment.Syntax, loopResumeTarget.Add(boundEnumeratorAssignment))
616
bodyEpilogue = Concat(bodyEpilogue, New
BoundStatementList
(syntaxNode, RegisterUnstructuredExceptionHandlingResumeTarget(syntaxNode, canThrow:=True)))
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
188
rewrittenInitializer = New
BoundStatementList
(rewrittenInitializer.Syntax, loopResumeTarget.Add(rewrittenInitializer))
Lowering\LocalRewriter\LocalRewriter_If.vb (4)
141
condGoto = New
BoundStatementList
(condGoto.Syntax, unstructuredExceptionHandlingResumeTarget.Add(condGoto))
166
Return New
BoundStatementList
(syntaxNode, ImmutableArray.Create(condGoto, rewrittenConsequence, afterIfStatement))
186
condGoto = New
BoundStatementList
(condGoto.Syntax, unstructuredExceptionHandlingResumeTarget.Add(condGoto))
202
Return New
BoundStatementList
(syntaxNode, ImmutableArray.Create(Of BoundStatement)(
Lowering\LocalRewriter\LocalRewriter_Label.vb (1)
39
statement = New
BoundStatementList
(node.Syntax, ImmutableArray.Create(statement, trackLineNumber))
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
293
New
BoundStatementList
(syntax, ImmutableArray.Create(flagStateAssignTwo, rewrittenInitialization)),
Lowering\LocalRewriter\LocalRewriter_Redim.vb (1)
32
Return New
BoundStatementList
(node.Syntax, statements.AsImmutableOrNull())
Lowering\LocalRewriter\LocalRewriter_Return.vb (1)
82
Return New
BoundStatementList
(syntaxNode, ImmutableArray.Create(assignment, jump))
Lowering\LocalRewriter\LocalRewriter_Try.vb (1)
91
Return New
BoundStatementList
(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (3)
374
Dim rewritten As BoundStatement = New
BoundStatementList
(node.Syntax, statements.ToImmutableAndFree())
440
Dim rewritten As BoundStatement = New
BoundStatementList
(node.Syntax, statements.ToImmutableAndFree())
606
Return New
BoundStatementList
(syntax, statements.ToImmutableAndFree())
Lowering\LocalRewriter\LocalRewriter_Using.vb (2)
167
Return New
BoundStatementList
(node.UsingInfo.UsingStatementSyntax, ImmutableArray.Create(Of BoundStatement)(prologue, currentBody))
169
Return New
BoundStatementList
(node.UsingInfo.UsingStatementSyntax, ImmutableArray.Create(Of BoundStatement)(currentBody))
Lowering\LocalRewriter\LocalRewriter_While.vb (2)
98
ifConditionGotoStart = New
BoundStatementList
(ifConditionGotoStart.Syntax, conditionResumeTargetOpt.Add(ifConditionGotoStart))
141
Return New
BoundStatementList
(statementSyntax, ImmutableArray.Create(Of BoundStatement)(
Lowering\SyntheticBoundNodeFactory.vb (2)
338
Dim boundNode As New
BoundStatementList
(Syntax, statements)
344
Dim boundNode As New
BoundStatementList
(Syntax, ImmutableArray.Create(first, second))
19 references to BoundStatementList
Microsoft.CodeAnalysis.VisualBasic (19)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2372
Public Overrides Function VisitStatementList(node As
BoundStatementList
) As BoundNode
BoundTree\BoundTreeVisitor.vb (1)
110
Return VisitStatementList(CType(node,
BoundStatementList
), arg)
CodeGen\EmitStatement.vb (1)
36
Dim list = DirectCast(statement,
BoundStatementList
)
Generated\BoundNodes.xml.Generated.vb (7)
6644
Public Function Update(statements As ImmutableArray(Of BoundStatement)) As
BoundStatementList
9555
Return VisitStatementList(CType(node,
BoundStatementList
), arg)
10157
Public Overridable Function VisitStatementList(node As
BoundStatementList
, arg As A) As R
10860
Public Overridable Function VisitStatementList(node As
BoundStatementList
) As BoundNode
11726
Public Overrides Function VisitStatementList(node As
BoundStatementList
) As BoundNode
12768
Public Overrides Function VisitStatementList(node As
BoundStatementList
) As BoundNode
14132
Public Overrides Function VisitStatementList(node As
BoundStatementList
, arg As Object) As TreeDumperNode
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
699
Private Function RewriteStatementList(node As
BoundStatementList
,
853
Public Overrides Function VisitStatementList(node As
BoundStatementList
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (4)
336
statements.AddRange(DirectCast(boundWhileStatement,
BoundStatementList
).Statements)
430
) As
BoundStatementList
483
Return DirectCast(boundWhileStatement,
BoundStatementList
)
632
Dim visitedWhile = DirectCast(boundWhileStatement,
BoundStatementList
)
Lowering\SyntheticBoundNodeFactory.vb (3)
333
Public Function StatementList() As
BoundStatementList
337
Public Function StatementList(statements As ImmutableArray(Of BoundStatement)) As
BoundStatementList
343
Public Function StatementList(first As BoundStatement, second As BoundStatement) As
BoundStatementList