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