1 write to Initializers
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6705this.Initializers = initializers;
34 references to Initializers
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder.ValueChecks.cs (4)
4482return GetValEscape(colExpr.Initializers, scopeOfTheContainingExpression); 4607foreach (var expr in initExpr.Initializers) 5288return CheckValEscape(colExpr.Initializers, escapeFrom, escapeTo, diagnostics); 5576foreach (var expr in initExpr.Initializers)
Binder\Binder_Expressions.cs (1)
6787CheckRequiredMembersInObjectInitializer(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)
6731if (placeholder != this.Placeholder || initializers != this.Initializers || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6853if (placeholder != this.Placeholder || initializers != this.Initializers || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10527this.VisitList(node.Initializers); 10539this.VisitList(node.Initializers); 11832ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 11852ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14149ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 14203ImmutableArray<BoundExpression> initializers = this.VisitList(node.Initializers); 16552new TreeDumperNode("initializers", null, from x in node.Initializers select Visit(x, null)), 16587new 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)