63 references to BoundArrayInitialization
Microsoft.CodeAnalysis.VisualBasic (63)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2318Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode
Binding\Binder_Attributes.vb (1)
577Dim arrayInitialization As BoundArrayInitialization = arrayCreation.InitializerOpt
Binding\Binder_Expressions.vb (10)
1556Dim arrayInitialization As BoundArrayInitialization 1636Private Function ReclassifyArrayInitialization(arrayInitialization As BoundArrayInitialization, elementType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundArrayInitialization 1642expr = ReclassifyArrayInitialization(DirectCast(expr, BoundArrayInitialization), elementType, diagnostics) 1653Private Function ReclassifyEmptyArrayInitialization(arrayLiteral As BoundArrayLiteral, rank As Integer) As BoundArrayInitialization 1655Dim arrayInitialization As BoundArrayInitialization = arrayLiteral.Initializer 4180diagnostics As BindingDiagnosticBag) As BoundArrayInitialization 4202diagnostics As BindingDiagnosticBag) As BoundArrayInitialization 4230diagnostics As BindingDiagnosticBag) As BoundArrayInitialization 4280Dim init As BoundArrayInitialization = Nothing
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
362Dim boundArrayInitializer As BoundArrayInitialization = New BoundArrayInitialization(syntax, boundFieldAccessArray.AsImmutableOrNull(),
BoundTree\BoundArrayCreation.vb (4)
13Public Sub New(syntax As SyntaxNode, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, type As TypeSymbol, Optional hasErrors As Boolean = False) 17Public Sub New(syntax As SyntaxNode, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 34Private Sub ValidateInitializer(initializer As BoundArrayInitialization, elementType As TypeSymbol) 37ValidateInitializer(DirectCast(item, BoundArrayInitialization), elementType)
CodeGen\EmitArrayInitializer.vb (5)
37Private Sub EmitArrayInitializers(arrayType As ArrayTypeSymbol, inits As BoundArrayInitialization) 117indices.Push(New IndexDesc(i, DirectCast(inits(i), BoundArrayInitialization).Initializers)) 148indices.Push(New IndexDesc(i, DirectCast(inits(i), BoundArrayInitialization).Initializers)) 238Dim asArrayInit = TryCast(init, BoundArrayInitialization) 273SerializeArrayRecursive(bw, DirectCast(init, BoundArrayInitialization).Initializers)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1120Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode
Generated\BoundNodes.xml.Generated.vb (19)
3956Public Sub New(syntax As SyntaxNode, isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 3989Private ReadOnly _InitializerOpt As BoundArrayInitialization 3990Public ReadOnly Property InitializerOpt As BoundArrayInitialization 4015Public Function Update(isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol) As BoundArrayCreation 4028Public Sub New(syntax As SyntaxNode, hasDominantType As Boolean, numberOfCandidates As Integer, inferredType As ArrayTypeSymbol, bounds As ImmutableArray(Of BoundExpression), initializer As BoundArrayInitialization, binder As Binder, Optional hasErrors As Boolean = False) 4073Private ReadOnly _Initializer As BoundArrayInitialization 4074Public ReadOnly Property Initializer As BoundArrayInitialization 4092Public Function Update(hasDominantType As Boolean, numberOfCandidates As Integer, inferredType As ArrayTypeSymbol, bounds As ImmutableArray(Of BoundExpression), initializer As BoundArrayInitialization, binder As Binder) As BoundArrayLiteral 4126Public Function Update(initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundArrayInitialization 9493Return VisitArrayInitialization(CType(node, BoundArrayInitialization), arg) 9999Public Overridable Function VisitArrayInitialization(node As BoundArrayInitialization, arg As A) As R 10702Public Overridable Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode 11492Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode 12501Dim initializerOpt As BoundArrayInitialization = DirectCast(Me.Visit(node.InitializerOpt), BoundArrayInitialization) 12509Dim initializer As BoundArrayInitialization = DirectCast(Me.Visit(node.Initializer), BoundArrayInitialization) 12514Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode 13775Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (8)
819Dim rewrittenInitializer As BoundArrayInitialization = DirectCast(Me.Visit(node.InitializerOpt), BoundArrayInitialization) 829DirectCast(rewrittenInitializer, BoundArrayInitialization), 847DirectCast(rewrittenInitializer, BoundArrayInitialization), 854Private Function VisitArrayInitializationParts(node As BoundArrayInitialization) As BoundExpression 866DirectCast(part, BoundArrayInitialization)), 874Public Overrides Function VisitArrayInitialization(node As BoundArrayInitialization) As BoundNode 879Return VisitArrayInitializationParts(DirectCast(node, BoundArrayInitialization))
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (4)
48Private Shared Function ArrayInitializerNeedsSpill(node As BoundArrayInitialization) As Boolean 55If ArrayInitializerNeedsSpill(DirectCast(initializer, BoundArrayInitialization)) Then 162Dim nestedInitializer = DirectCast(arg, BoundArrayInitialization) 396Dim arrayInit = DirectCast(expr, BoundArrayInitialization)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
181Dim initializer As BoundArrayInitialization = node.InitializerOpt
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
737Dim initializer As BoundArrayInitialization = node.InitializerOpt
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
134Dim initializer As BoundArrayInitialization = args.InitializerOpt
Lowering\SyntheticBoundNodeFactory.vb (1)
1044Dim arrayInitialization As BoundArrayInitialization = If(Not elements.IsDefaultOrEmpty, New BoundArrayInitialization(_syntax, elements, arrayType), Nothing)
Lowering\UseTwiceRewriter.vb (1)
527Dim initializer As BoundArrayInitialization = boundArray.InitializerOpt
Semantics\Conversions.vb (2)
1312Private Shared Function ClassifyArrayInitialization(source As BoundArrayInitialization, targetElementType As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1331elementConv = ClassifyArrayInitialization(DirectCast(sourceElement, BoundArrayInitialization), targetElementType, binder, useSiteInfo)
Semantics\TypeInference\TypeInferenceCollection.vb (2)
404Private Shared Sub AppendArrayElements(source As BoundArrayInitialization, elements As ArrayBuilder(Of BoundExpression)) 407AppendArrayElements(DirectCast(sourceElement, BoundArrayInitialization), elements)