32 references to Initializers
Microsoft.CodeAnalysis.VisualBasic (32)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
2310If node.InitializerOpt IsNot Nothing AndAlso Not node.InitializerOpt.Initializers.IsDefault Then 2311For Each element In node.InitializerOpt.Initializers 2319For Each initializer In node.Initializers
Binding\Binder_Attributes.vb (3)
579For Each initializer In arrayInitialization.Initializers 857If initializerOpt Is Nothing OrElse initializerOpt.Initializers.Length = 0 Then 874values = VisitArguments(initializerOpt.Initializers, diag)
Binding\Binder_Expressions.vb (1)
1640For Each expr In arrayInitialization.Initializers
BoundTree\BoundArrayCreation.vb (1)
35For Each item In initializer.Initializers
BoundTree\BoundArrayLiteral.vb (1)
16Return InferredType.Rank = 1 AndAlso Initializer.Initializers.Length = 0
CodeGen\EmitArrayInitializer.vb (4)
38Dim initExprs = inits.Initializers 117indices.Push(New IndexDesc(i, DirectCast(inits(i), BoundArrayInitialization).Initializers)) 241InitializerCountRecursive(asArrayInit.Initializers, initCount, constInits) 273SerializeArrayRecursive(bw, DirectCast(init, BoundArrayInitialization).Initializers)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1124Dim initializers As ImmutableArray(Of BoundExpression) = node.Initializers
Generated\BoundNodes.xml.Generated.vb (4)
4127If initializers <> Me.Initializers OrElse type IsNot Me.Type Then 11493Me.VisitList(node.Initializers) 12515Dim initializers As ImmutableArray(Of BoundExpression) = Me.VisitList(node.Initializers) 13777New TreeDumperNode("initializers", Nothing, From x In node.Initializers Select Visit(x, Nothing)),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
840SpillExpressionList(builder, rewrittenInitializer.Initializers), 857Dim parts As ImmutableArray(Of BoundExpression) = node.Initializers
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (3)
53For Each initializer In node.Initializers 164SpillArgumentListInner(nestedInitializer.Initializers, spillBuilders, spilledFirstArg) 397Return arrayInit.Update(SpillExpressionList(builder, arrayInit.Initializers), arrayInit.Type)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
182If initializer IsNot Nothing AndAlso Not initializer.Initializers.IsEmpty Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
738If initializer IsNot Nothing AndAlso Not initializer.Initializers.IsEmpty Then 740Return ConvertRuntimeHelperToExpressionTree(WellKnownMember.System_Linq_Expressions_Expression__NewArrayInit, boundType, ConvertArgumentsIntoArray(node.InitializerOpt.Initializers))
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
325Dim bounds As BoundExpression = New BoundLiteral(node, ConstantValue.Create(initializer.Initializers.Length), intType)
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
137flattened.AddRange(initializer.Initializers)
Lowering\UseTwiceRewriter.vb (2)
528Dim initializerSize As Integer = initializer.Initializers.Length 535UseTwiceRegularArgument(containingMember, initializer.Initializers(index), arg, firstArgsArray(index), secondArgsArray(index))
Semantics\Conversions.vb (1)
1327For Each sourceElement In source.Initializers
Semantics\TypeInference\TypeInferenceCollection.vb (1)
405For Each sourceElement In source.Initializers