Base:
property
InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp.BoundObjectCreationExpressionBase.InitializerExpressionOpt
1 write to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7060this.InitializerExpressionOpt = initializerExpressionOpt;
14 references to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (2)
4287var initializerOpt = newT.InitializerExpressionOpt; 5044var initializerExpr = newT.InitializerExpressionOpt;
FlowAnalysis\AbstractFlowPass.cs (1)
2103VisitRvalue(node.InitializerExpressionOpt);
Generated\BoundNodes.xml.Generated.cs (5)
7072if (initializerExpressionOpt != this.InitializerExpressionOpt || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10601this.Visit(node.InitializerExpressionOpt); 11926BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.InitializerExpressionOpt); 14343BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.InitializerExpressionOpt); 16682new 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);