23 references to Initializers
Microsoft.CodeAnalysis.VisualBasic (23)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1571For Each initializer In node.Initializers
Binding\Binder_ObjectInitializer.vb (2)
122CheckRequiredMembersInObjectInitializer(constructorSymbol, namedType, If(initializerOpt?.Initializers, ImmutableArray(Of BoundExpression).Empty), typeNode, diagnostics) 501CheckRequiredMembersInObjectInitializer(constructorSymbol, constructorSymbol.ContainingType, If(objectInitializerExpressionOpt?.Initializers, ImmutableArray(Of BoundExpression).Empty), typeNode, diagnostics)
Binding\MemberSemanticModel.vb (2)
914Dim boundAdd = boundCollectionInitializer.Initializers(DirectCast(collectionInitializer.Initializer, ObjectCollectionInitializerSyntax).Initializer.Initializers.IndexOf(node)) 2455Me.VisitList(node.Initializers)
BoundTree\BoundCollectionInitializerExpression.vb (1)
16For Each initializer In Me.Initializers
BoundTree\BoundObjectInitializerExpression.vb (1)
16For Each initializer In Me.Initializers
Generated\BoundNodes.xml.Generated.vb (8)
3815If createTemporaryLocalForInitialization <> Me.CreateTemporaryLocalForInitialization OrElse placeholderOpt IsNot Me.PlaceholderOpt OrElse initializers <> Me.Initializers OrElse type IsNot Me.Type Then 3846If placeholderOpt IsNot Me.PlaceholderOpt OrElse initializers <> Me.Initializers OrElse type IsNot Me.Type Then 11458Me.VisitList(node.Initializers) 11464Me.VisitList(node.Initializers) 12472Dim initializers As ImmutableArray(Of BoundExpression) = Me.VisitList(node.Initializers) 12479Dim initializers As ImmutableArray(Of BoundExpression) = Me.VisitList(node.Initializers) 13721New TreeDumperNode("initializers", Nothing, From x In node.Initializers Select Visit(x, Nothing)), 13729New TreeDumperNode("initializers", Nothing, From x In node.Initializers Select Visit(x, Nothing)),
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
123For Each initializer In node.Initializers
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
588Dim initializers As ImmutableArray(Of BoundExpression) = initializer.Initializers 637Dim initializers As ImmutableArray(Of BoundExpression) = initializer.Initializers
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (5)
223Dim initializerCount = node.Initializers.Length 231Dim initializer As BoundExpression = node.Initializers(initializerIndex) 300Dim initializerCount = node.Initializers.Length 359Dim assignment = DirectCast(node.Initializers(initializerIndex), BoundAssignmentOperator) 367sequenceExpressions(initializerIndex + 1) = VisitExpressionNode(node.Initializers(initializerIndex))