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