28 references to BoundObjectInitializerExpression
Microsoft.CodeAnalysis.VisualBasic (28)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1582
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
Analysis\FlowAnalysis\DataFlowPass.vb (4)
2027
Dim objectInitializer = DirectCast(boundInitializerBase,
BoundObjectInitializerExpression
)
2119
DirectCast(node,
BoundObjectInitializerExpression
).CreateTemporaryLocalForInitialization
2122
Me.SetPlaceholderSubstitute(DirectCast(node,
BoundObjectInitializerExpression
).PlaceholderOpt, Nothing) ' Override substitute
2128
Me.RemovePlaceholderSubstitute(DirectCast(node,
BoundObjectInitializerExpression
).PlaceholderOpt)
Binding\Binder_ObjectInitializer.vb (1)
651
) As
BoundObjectInitializerExpression
Binding\MemberSemanticModel.vb (1)
2464
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
Generated\BoundNodes.xml.Generated.vb (7)
3814
Public Function Update(createTemporaryLocalForInitialization As Boolean, placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol) As
BoundObjectInitializerExpression
9481
Return VisitObjectInitializerExpression(CType(node,
BoundObjectInitializerExpression
), arg)
9975
Public Overridable Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
, arg As A) As R
10678
Public Overridable Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
11456
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
12470
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
13717
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
, arg As Object) As TreeDumperNode
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
111
Public Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
573
VisitObjectInitializer(DirectCast(initializerOpt,
BoundObjectInitializerExpression
)))
584
Private Function VisitObjectInitializer(initializer As
BoundObjectInitializerExpression
) As BoundExpression
Lowering\LocalRewriter\LocalRewriter.vb (1)
332
Not DirectCast(DirectCast(node, BoundObjectCreationExpressionBase).InitializerOpt,
BoundObjectInitializerExpression
).CreateTemporaryLocalForInitialization Then
Lowering\LocalRewriter\LocalRewriter_AsNewLocalDeclarations.vb (3)
76
Dim objectInitializer As
BoundObjectInitializerExpression
= GetBoundObjectInitializerFromInitializer(initializerToRewrite)
115
Private Shared Function GetBoundObjectInitializerFromInitializer(initializer As BoundExpression) As
BoundObjectInitializerExpression
118
Return TryCast(objectCreationExpression.InitializerOpt,
BoundObjectInitializerExpression
)
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (2)
88
Dim objectInitializer As
BoundObjectInitializerExpression
= Nothing
95
objectInitializer = DirectCast(objectCreationExpression.InitializerOpt,
BoundObjectInitializerExpression
)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (2)
42
Dim objectInitializer = DirectCast(objectCreationExpression.InitializerOpt,
BoundObjectInitializerExpression
)
90
BoundObjectInitializerExpression
).CreateTemporaryLocalForInitialization))
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (2)
113
Return RewriteObjectInitializerExpression(DirectCast(objectInitializer,
BoundObjectInitializerExpression
),
294
node As
BoundObjectInitializerExpression
,
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
626
Public NotOverridable Overrides Function VisitObjectInitializerExpression(node As
BoundObjectInitializerExpression
) As BoundNode