1 write to Indices
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2045
this.
Indices
= indices;
30 references to Indices
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.ValueChecks.cs (2)
624
return checkArrayAccessValueKind(node, valueKind, ((BoundArrayAccess)expr).
Indices
, diagnostics);
720
return checkArrayAccessValueKind(node, valueKind, arrayAccess.
Indices
, diagnostics);
CodeGen\EmitAddress.cs (1)
393
EmitArrayIndices(arrayAccess.
Indices
);
CodeGen\EmitExpression.cs (2)
983
EmitArrayIndices(arrayAccess.
Indices
);
2647
EmitArrayIndices(left.
Indices
);
FlowAnalysis\AbstractFlowPass.cs (1)
2184
foreach (var i in node.
Indices
)
FlowAnalysis\NullableWalker.cs (3)
4388
foreach (var i in node.
Indices
)
4394
if (node.
Indices
.Length == 1 &&
4395
TypeSymbol.Equals(node.
Indices
[0].Type, compilation.GetWellKnownType(WellKnownType.System_Range), TypeCompareKind.ConsiderEverything2))
Generated\BoundNodes.xml.Generated.cs (5)
2057
if (expression != this.Expression || indices != this.
Indices
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
9621
this.VisitList(node.
Indices
);
10720
ImmutableArray<BoundExpression> indices = this.VisitList(node.
Indices
);
12468
ImmutableArray<BoundExpression> indices = this.VisitList(node.
Indices
);
14879
new TreeDumperNode("indices", null, from x in node.
Indices
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
296
if (node.
Indices
.Length == 1)
298
var arg = node.
Indices
[0];
308
return ExprFactory("ArrayIndex", array, Indices(node.
Indices
));
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
91
node.
Indices
.Length == 1 &&
92
node.
Indices
[0].Type!.SpecialType == SpecialType.None)
Lowering\LocalRewriter\LocalRewriter.cs (3)
703
if (node.
Indices
.Length != 1)
708
var indexType = VisitType(node.
Indices
[0].Type);
729
VisitExpression(node.
Indices
[0])));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
436
return SpillArrayElementAccess(arrayAccess.Expression, arrayAccess.
Indices
, stores, temps);
662
var loweredIndices = VisitList(arrayAccess.
Indices
);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
396
arrayAccess.
Indices
,
Lowering\SpillSequenceSpiller.cs (3)
711
var indices = this.VisitExpressionList(ref indicesBuilder, node.
Indices
);
822
var indices = this.VisitExpressionList(ref leftBuilder, arrayAccess.
Indices
, forceSpill: true);
869
var indices = this.VisitExpressionList(ref leftBuilder, arrayAccess.
Indices
, forceSpill: true);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
557
foreach (var index in array.
Indices
)
Operations\CSharpOperationFactory.cs (1)
1560
ImmutableArray<IOperation> indices = CreateFromArray<BoundExpression, IOperation>(boundArrayAccess.
Indices
);