47 references to InitializerOpt
Microsoft.CodeAnalysis.VisualBasic (47)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1555
VisitObjectCreationExpressionInitializer(node.
InitializerOpt
)
1561
VisitObjectCreationExpressionInitializer(node.
InitializerOpt
)
1587
Visit(node.
InitializerOpt
)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
2024
Dim boundInitializerBase = DirectCast(boundInitializer, BoundObjectCreationExpressionBase).
InitializerOpt
BoundTree\BoundObjectCreationExpressionBase.vb (2)
15
Debug.Assert(
InitializerOpt
Is Nothing OrElse TypeSymbol.Equals(
InitializerOpt
.Type, Type, TypeCompareKind.ConsiderEverything))
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
735
Debug.Assert(node.
InitializerOpt
Is Nothing)
Generated\BoundNodes.xml.Generated.vb (12)
3569
If constructorOpt IsNot Me.ConstructorOpt OrElse methodGroupOpt IsNot Me.MethodGroupOpt OrElse arguments <> Me.Arguments OrElse defaultArguments <> Me.DefaultArguments OrElse initializerOpt IsNot Me.
InitializerOpt
OrElse type IsNot Me.Type Then
3603
If guidString IsNot Me.GuidString OrElse initializerOpt IsNot Me.
InitializerOpt
OrElse type IsNot Me.Type Then
3877
If initializerOpt IsNot Me.
InitializerOpt
OrElse type IsNot Me.Type Then
11432
Me.Visit(node.
InitializerOpt
)
11437
Me.Visit(node.
InitializerOpt
)
11469
Me.Visit(node.
InitializerOpt
)
12441
Dim initializerOpt As BoundObjectInitializerExpressionBase = DirectCast(Me.Visit(node.
InitializerOpt
), BoundObjectInitializerExpressionBase)
12447
Dim initializerOpt As BoundObjectInitializerExpressionBase = DirectCast(Me.Visit(node.
InitializerOpt
), BoundObjectInitializerExpressionBase)
12485
Dim initializerOpt As BoundObjectInitializerExpressionBase = DirectCast(Me.Visit(node.
InitializerOpt
), BoundObjectInitializerExpressionBase)
13679
New TreeDumperNode("initializerOpt", Nothing, new TreeDumperNode() {Visit(node.
InitializerOpt
, Nothing)}),
13687
New TreeDumperNode("initializerOpt", Nothing, new TreeDumperNode() {Visit(node.
InitializerOpt
, Nothing)}),
13736
New TreeDumperNode("initializerOpt", Nothing, new TreeDumperNode() {Visit(node.
InitializerOpt
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
192
Debug.Assert(rewritten.
InitializerOpt
Is Nothing)
205
rewritten.
InitializerOpt
,
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
18
Dim initializer As BoundObjectInitializerExpressionBase = node.
InitializerOpt
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
555
Return VisitObjectCreationContinued(visitedObjectCreation, node.
InitializerOpt
)
562
_factory.[Typeof](node.Type, _factory.WellKnownType(WellKnownType.System_Type))), node.
InitializerOpt
)
Lowering\LocalRewriter\LocalRewriter.vb (3)
330
DirectCast(node, BoundObjectCreationExpressionBase).
InitializerOpt
IsNot Nothing AndAlso
331
DirectCast(node, BoundObjectCreationExpressionBase).
InitializerOpt
.Kind = BoundKind.ObjectInitializerExpression AndAlso
332
Not DirectCast(DirectCast(node, BoundObjectCreationExpressionBase).
InitializerOpt
, BoundObjectInitializerExpression).CreateTemporaryLocalForInitialization Then
Lowering\LocalRewriter\LocalRewriter_AsNewLocalDeclarations.vb (1)
118
Return TryCast(objectCreationExpression.
InitializerOpt
, BoundObjectInitializerExpression)
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (3)
93
If objectCreationExpression.
InitializerOpt
IsNot Nothing AndAlso
94
objectCreationExpression.
InitializerOpt
.Kind = BoundKind.ObjectInitializerExpression Then
95
objectInitializer = DirectCast(objectCreationExpression.
InitializerOpt
, BoundObjectInitializerExpression)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (5)
39
If objectCreationExpression.
InitializerOpt
IsNot Nothing AndAlso
40
objectCreationExpression.
InitializerOpt
.Kind = BoundKind.ObjectInitializerExpression Then
42
Dim objectInitializer = DirectCast(objectCreationExpression.
InitializerOpt
, BoundObjectInitializerExpression)
88
(DirectCast(node.InitializerOpt, BoundObjectCreationExpressionBase).
InitializerOpt
.Kind = BoundKind.ObjectInitializerExpression AndAlso
89
Not DirectCast(DirectCast(node.InitializerOpt, BoundObjectCreationExpressionBase).
InitializerOpt
,
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (8)
18
Dim objectInitializer = node.
InitializerOpt
97
If node.
InitializerOpt
Is Nothing OrElse node.
InitializerOpt
.HasErrors Then
101
Return VisitObjectCreationInitializer(node.
InitializerOpt
, node, rewrittenObjectCreation)
126
If node.
InitializerOpt
IsNot Nothing Then
127
Return VisitObjectCreationInitializer(node.
InitializerOpt
, node, node)
156
If node.
InitializerOpt
IsNot Nothing Then
157
Return VisitObjectCreationInitializer(node.
InitializerOpt
, result, result)
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (1)
104
initializerOpt:=currentCreation.
InitializerOpt
,
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
179
Debug.Assert(objCreation.
InitializerOpt
Is Nothing)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
246
rewritten.
InitializerOpt
,