21 references to InitializerOpt
Microsoft.CodeAnalysis.VisualBasic (21)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
2310If node.InitializerOpt IsNot Nothing AndAlso Not node.InitializerOpt.Initializers.IsDefault Then 2311For Each element In node.InitializerOpt.Initializers
Binding\Binder_Attributes.vb (2)
577Dim arrayInitialization As BoundArrayInitialization = arrayCreation.InitializerOpt 855Dim initializerOpt = node.InitializerOpt
BoundTree\BoundArrayCreation.vb (2)
29If InitializerOpt IsNot Nothing Then 30ValidateInitializer(InitializerOpt, elementType)
CodeGen\EmitExpression.vb (2)
1615If expression.InitializerOpt IsNot Nothing Then 1616EmitArrayInitializers(arrayType, expression.InitializerOpt)
Generated\BoundNodes.xml.Generated.vb (4)
4016If isParamArrayArgument <> Me.IsParamArrayArgument OrElse bounds <> Me.Bounds OrElse initializerOpt IsNot Me.InitializerOpt OrElse arrayLiteralOpt IsNot Me.ArrayLiteralOpt OrElse arrayLiteralConversion <> Me.ArrayLiteralConversion OrElse type IsNot Me.Type Then 11482Me.Visit(node.InitializerOpt) 12501Dim initializerOpt As BoundArrayInitialization = DirectCast(Me.Visit(node.InitializerOpt), BoundArrayInitialization) 13756New TreeDumperNode("initializerOpt", Nothing, new TreeDumperNode() {Visit(node.InitializerOpt, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
819Dim rewrittenInitializer As BoundArrayInitialization = DirectCast(Me.Visit(node.InitializerOpt), BoundArrayInitialization)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
181Dim initializer As BoundArrayInitialization = node.InitializerOpt
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
737Dim initializer As BoundArrayInitialization = node.InitializerOpt 740Return ConvertRuntimeHelperToExpressionTree(WellKnownMember.System_Linq_Expressions_Expression__NewArrayInit, boundType, ConvertArgumentsIntoArray(node.InitializerOpt.Initializers))
Lowering\LocalRewriter\LocalRewriter.vb (1)
910node.InitializerOpt,
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
134Dim initializer As BoundArrayInitialization = args.InitializerOpt
Lowering\UseTwiceRewriter.vb (2)
524Debug.Assert(boundArray.InitializerOpt IsNot Nothing) 527Dim initializer As BoundArrayInitialization = boundArray.InitializerOpt