Base:
property
InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp.BoundObjectCreationExpressionBase.InitializerExpressionOpt
1 write to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7059this.InitializerExpressionOpt = initializerExpressionOpt;
14 references to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (2)
4311var initializerOpt = newT.InitializerExpressionOpt; 5062var initializerExpr = newT.InitializerExpressionOpt;
FlowAnalysis\AbstractFlowPass.cs (1)
2103VisitRvalue(node.InitializerExpressionOpt);
Generated\BoundNodes.xml.Generated.cs (5)
7071if (initializerExpressionOpt != this.InitializerExpressionOpt || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10564this.Visit(node.InitializerExpressionOpt); 11889BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.InitializerExpressionOpt); 14306BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.InitializerExpressionOpt); 16645new TreeDumperNode("initializerExpressionOpt", null, new TreeDumperNode[] { Visit(node.InitializerExpressionOpt, null) }),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
870return VisitObjectCreationContinued(_bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__New_Type, _bound.Typeof(node.Type, _bound.WellKnownType(WellKnownType.System_Type))), node.InitializerExpressionOpt);
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (4)
311return node.Update(MakeObjectCreationInitializerForExpressionTree(node.InitializerExpressionOpt), node.WasTargetTyped, node.Type); 315if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.HasErrors) 320return MakeExpressionWithInitializer(node.Syntax, rewrittenNewT, node.InitializerExpressionOpt, rewrittenNewT.Type!);
Operations\CSharpOperationFactory.cs (1)
1415IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.InitializerExpressionOpt);