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