1 write to Initializers
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7159
this.
Initializers
= initializers;
30 references to Initializers
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_Attributes.cs (1)
1006
initializer = VisitArguments(node.InitializerOpt.
Initializers
, diagnostics, ref attrHasErrors, curArgumentHasErrors);
Binder\Binder_Expressions.cs (1)
4328
result = new BoundArrayInitialization(node, isInferred: false, result.
Initializers
, hasErrors: true);
BoundTree\Expression.cs (1)
133
return arrayInitializer?.
Initializers
?? ImmutableArray<BoundExpression>.Empty;
CodeGen\EmitArrayInitializer.cs (7)
47
var initExprs = inits.
Initializers
;
146
indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).
Initializers
));
180
indices.Push(new IndexDesc(i, ((BoundArrayInitialization)inits[i]).
Initializers
));
310
InitializerCountRecursive(asArrayInit.
Initializers
, ref initCount, ref constInits);
352
SerializeArrayRecursive(bw, ((BoundArrayInitialization)init).
Initializers
);
482
ImmutableArray<BoundExpression> initializers = initializer.
Initializers
;
694
var initializers = initializer.
Initializers
;
CodeGen\EmitExpression.cs (1)
2413
foreach (var init in initializer.
Initializers
)
CodeGen\EmitStackAllocInitializer.cs (1)
31
var initExprs = inits.
Initializers
;
CodeGen\Optimizer.cs (1)
1759
var initializers = node.
Initializers
;
FlowAnalysis\AbstractFlowPass.cs (1)
1604
foreach (var child in node.
Initializers
)
FlowAnalysis\NullableWalker.cs (3)
4628
var expressions = ArrayBuilder<BoundExpression>.GetInstance(initialization.
Initializers
.Length);
4826
foreach (var child in node.
Initializers
)
7074
elements = array.InitializerOpt!.
Initializers
;
Generated\BoundNodes.xml.Generated.cs (5)
7171
if (isInferred != this.IsInferred || initializers != this.
Initializers
)
10617
this.VisitList(node.
Initializers
);
11945
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
14396
ImmutableArray<BoundExpression> initializers = this.VisitList(node.
Initializers
);
16712
new TreeDumperNode("initializers", null, from x in node.
Initializers
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
345
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__NewArrayInit, boundType, Expressions(node.InitializerOpt.
Initializers
));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1260
if (paramsArray is BoundArrayCreation { Bounds: [BoundLiteral] bounds, InitializerOpt: BoundArrayInitialization {
Initializers
: var elements } initialization } creation)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
546
foreach (var element in initializers.
Initializers
)
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
42
initializerOpt = initializerOpt.Update(VisitList(initializerOpt.
Initializers
));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
191
arguments = initializer.
Initializers
;
Lowering\SpillSequenceSpiller.cs (2)
320
var newInitializers = VisitExpressionList(ref builder, arrayInitialization.
Initializers
, forceSpill: true);
829
var initializers = this.VisitExpressionList(ref builder, node.
Initializers
);
Operations\CSharpOperationFactory.cs (1)
1217
ImmutableArray<IOperation> elementValues = CreateFromArray<BoundExpression, IOperation>(boundArrayInitialization.
Initializers
);