1 write to Initializers
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6705
this.
Initializers
= initializers;
34 references to Initializers
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder.ValueChecks.cs (4)
4482
return GetValEscape(colExpr.
Initializers
, scopeOfTheContainingExpression);
4607
foreach (var expr in initExpr.
Initializers
)
5288
return CheckValEscape(colExpr.
Initializers
, escapeFrom, escapeTo, diagnostics);
5576
foreach (var expr in initExpr.
Initializers
)
Binder\Binder_Expressions.cs (1)
6787
CheckRequiredMembersInObjectInitializer(creation.Constructor, creation.InitializerExpressionOpt?.
Initializers
?? default, creation.Syntax, diagnostics);
BoundTree\Expression.cs (2)
17
return objectInitializerExpression.
Initializers
;
23
return collectionInitializerExpression.
Initializers
;
Compilation\MemberSemanticModel.cs (1)
1275
var boundAdd = boundCollectionInitializer.
Initializers
[collectionInitializer.Expressions.IndexOf(node)];
FlowAnalysis\AbstractFlowPass.cs (3)
2350
VisitObjectOrCollectionInitializerExpression(node.InitializerExpression.
Initializers
);
3560
return VisitObjectOrCollectionInitializerExpression(node.
Initializers
);
3565
return VisitObjectOrCollectionInitializerExpression(node.
Initializers
);
FlowAnalysis\NullableWalker.cs (3)
4049
foreach (var initializer in objectInitializer.
Initializers
)
4064
foreach (var initializer in collectionInitializer.
Initializers
)
4229
if (slot >= 0 && !initializer.
Initializers
.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (10)
6731
if (placeholder != this.Placeholder || initializers != this.
Initializers
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6853
if (placeholder != this.Placeholder || initializers != this.
Initializers
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10527
this.VisitList(node.
Initializers
);
10539
this.VisitList(node.
Initializers
);
11832
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
11852
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14149
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14203
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
16552
new TreeDumperNode("initializers", null, from x in node.
Initializers
select Visit(x, null)),
16587
new TreeDumperNode("initializers", null, from x in node.
Initializers
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
949
foreach (BoundAssignmentOperator a in oi.
Initializers
)
999
Debug.Assert(ci.
Initializers
.Length != 0);
1006
foreach (BoundCollectionElementInitializer i in ci.
Initializers
)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
205
foreach (BoundExpression initializer in withExpr.InitializerExpression.
Initializers
)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (6)
47
AddObjectInitializers(ref dynamicSiteInitializers, ref temps, result, rewrittenReceiver, objectInitializer.
Initializers
);
56
AddCollectionInitializers(result, rewrittenReceiver, collectionInitializer.
Initializers
);
73
return VisitList(((BoundObjectInitializerExpression)initializerExpression).
Initializers
);
77
AddCollectionInitializers(result, null, ((BoundCollectionInitializerExpression)initializerExpression).
Initializers
);
529
&& initializer.
Initializers
.All(e => e is BoundAssignmentOperator nestedAssignment && onlyContainsEmptyLeafNestedInitializers(nestedAssignment));
580
foreach (var initializer in ((BoundObjectInitializerExpression)assignment.Right).
Initializers
)