Base:
property
InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp.BoundObjectCreationExpressionBase.InitializerExpressionOpt
1 write to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7060
this.
InitializerExpressionOpt
= initializerExpressionOpt;
14 references to InitializerExpressionOpt
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (2)
4287
var initializerOpt = newT.
InitializerExpressionOpt
;
5044
var initializerExpr = newT.
InitializerExpressionOpt
;
FlowAnalysis\AbstractFlowPass.cs (1)
2103
VisitRvalue(node.
InitializerExpressionOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
7072
if (initializerExpressionOpt != this.
InitializerExpressionOpt
|| wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10601
this.Visit(node.
InitializerExpressionOpt
);
11926
BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.
InitializerExpressionOpt
);
14343
BoundObjectInitializerExpressionBase? initializerExpressionOpt = (BoundObjectInitializerExpressionBase?)this.Visit(node.
InitializerExpressionOpt
);
16682
new TreeDumperNode("initializerExpressionOpt", null, new TreeDumperNode[] { Visit(node.
InitializerExpressionOpt
, null) }),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
870
return 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)
311
return node.Update(MakeObjectCreationInitializerForExpressionTree(node.
InitializerExpressionOpt
), node.WasTargetTyped, node.Type);
315
if (node.
InitializerExpressionOpt
== null || node.
InitializerExpressionOpt
.HasErrors)
320
return MakeExpressionWithInitializer(node.Syntax, rewrittenNewT, node.
InitializerExpressionOpt
, rewrittenNewT.Type!);
Operations\CSharpOperationFactory.cs (1)
1415
IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.
InitializerExpressionOpt
);