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, scopeOfTheContainingExpression); 4583foreach (var expr in initExpr.Initializers) 5264return CheckValEscape(colExpr.Initializers, escapeFrom, escapeTo, diagnostics); 5552foreach (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); 3560return VisitObjectOrCollectionInitializerExpression(node.Initializers); 3565return VisitObjectOrCollectionInitializerExpression(node.Initializers);
FlowAnalysis\NullableWalker.cs (3)
4049foreach (var initializer in objectInitializer.Initializers) 4064foreach (var initializer in collectionInitializer.Initializers) 4229if (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)) 10528this.VisitList(node.Initializers); 10540this.VisitList(node.Initializers); 11833ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 11853ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14150ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14204ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 16553new TreeDumperNode("initializers", null, from x in node.Initializers select Visit(x, null)), 16588new 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)