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
, scopeOfTheContainingExpression);
4583
foreach (var expr in initExpr.
Initializers
)
5264
return CheckValEscape(colExpr.
Initializers
, escapeFrom, escapeTo, diagnostics);
5552
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
);
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)
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))
10528
this.VisitList(node.
Initializers
);
10540
this.VisitList(node.
Initializers
);
11833
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
11853
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14150
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14204
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
16553
new TreeDumperNode("initializers", null, from x in node.
Initializers
select Visit(x, null)),
16588
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
)