1 write to Initializers
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6706
this.
Initializers
= initializers;
34 references to Initializers
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder.ValueChecks.cs (4)
4458
return GetValEscape(colExpr.
Initializers
, localScopeDepth);
4583
foreach (var expr in initExpr.
Initializers
)
5270
return CheckValEscape(colExpr.
Initializers
, escapeFrom, escapeTo, diagnostics);
5558
foreach (var expr in initExpr.
Initializers
)
Binder\Binder_Expressions.cs (1)
6790
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
);
3564
return VisitObjectOrCollectionInitializerExpression(node.
Initializers
);
3569
return VisitObjectOrCollectionInitializerExpression(node.
Initializers
);
FlowAnalysis\NullableWalker.cs (3)
4110
foreach (var initializer in objectInitializer.
Initializers
)
4125
foreach (var initializer in collectionInitializer.
Initializers
)
4290
if (slot >= 0 && !initializer.
Initializers
.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (10)
6732
if (placeholder != this.Placeholder || initializers != this.
Initializers
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6854
if (placeholder != this.Placeholder || initializers != this.
Initializers
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10564
this.VisitList(node.
Initializers
);
10576
this.VisitList(node.
Initializers
);
11869
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
11889
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14186
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14240
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
16589
new TreeDumperNode("initializers", null, from x in node.
Initializers
select Visit(x, null)),
16624
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
)