1 write to Initializers
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6706this.Initializers = initializers;
34 references to Initializers
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder.ValueChecks.cs (4)
4458return GetValEscape(colExpr.Initializers, localScopeDepth); 4583foreach (var expr in initExpr.Initializers) 5270return CheckValEscape(colExpr.Initializers, escapeFrom, escapeTo, diagnostics); 5558foreach (var expr in initExpr.Initializers)
Binder\Binder_Expressions.cs (1)
6790CheckRequiredMembersInObjectInitializer(creation.Constructor, creation.InitializerExpressionOpt?.Initializers ?? default, creation.Syntax, diagnostics);
BoundTree\Expression.cs (2)
17return objectInitializerExpression.Initializers; 23return collectionInitializerExpression.Initializers;
Compilation\MemberSemanticModel.cs (1)
1275var boundAdd = boundCollectionInitializer.Initializers[collectionInitializer.Expressions.IndexOf(node)];
FlowAnalysis\AbstractFlowPass.cs (3)
2350VisitObjectOrCollectionInitializerExpression(node.InitializerExpression.Initializers); 3564return VisitObjectOrCollectionInitializerExpression(node.Initializers); 3569return VisitObjectOrCollectionInitializerExpression(node.Initializers);
FlowAnalysis\NullableWalker.cs (3)
4110foreach (var initializer in objectInitializer.Initializers) 4125foreach (var initializer in collectionInitializer.Initializers) 4290if (slot >= 0 && !initializer.Initializers.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (10)
6732if (placeholder != this.Placeholder || initializers != this.Initializers || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6854if (placeholder != this.Placeholder || initializers != this.Initializers || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10564this.VisitList(node.Initializers); 10576this.VisitList(node.Initializers); 11869ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 11889ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14186ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14240ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 16589new TreeDumperNode("initializers", null, from x in node.Initializers select Visit(x, null)), 16624new TreeDumperNode("initializers", null, from x in node.Initializers select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
949foreach (BoundAssignmentOperator a in oi.Initializers) 999Debug.Assert(ci.Initializers.Length != 0); 1006foreach (BoundCollectionElementInitializer i in ci.Initializers)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
205foreach (BoundExpression initializer in withExpr.InitializerExpression.Initializers)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (6)
47AddObjectInitializers(ref dynamicSiteInitializers, ref temps, result, rewrittenReceiver, objectInitializer.Initializers); 56AddCollectionInitializers(result, rewrittenReceiver, collectionInitializer.Initializers); 73return VisitList(((BoundObjectInitializerExpression)initializerExpression).Initializers); 77AddCollectionInitializers(result, null, ((BoundCollectionInitializerExpression)initializerExpression).Initializers); 529&& initializer.Initializers.All(e => e is BoundAssignmentOperator nestedAssignment && onlyContainsEmptyLeafNestedInitializers(nestedAssignment)); 580foreach (var initializer in ((BoundObjectInitializerExpression)assignment.Right).Initializers)