1 write to Indices
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2058
this.
Indices
= indices;
32 references to Indices
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
771
return checkArrayAccessValueKind(node, valueKind, ((BoundArrayAccess)expr).
Indices
, diagnostics);
867
return checkArrayAccessValueKind(node, valueKind, arrayAccess.
Indices
, diagnostics);
CodeGen\EmitAddress.cs (1)
396
EmitArrayIndices(arrayAccess.
Indices
);
CodeGen\EmitExpression.cs (2)
1012
EmitArrayIndices(arrayAccess.
Indices
);
2865
EmitArrayIndices(left.
Indices
);
FlowAnalysis\AbstractFlowPass.cs (1)
2357
foreach (var i in node.
Indices
)
FlowAnalysis\NullableWalker.cs (3)
4792
foreach (var i in node.
Indices
)
4798
if (node.
Indices
.Length == 1 &&
4799
TypeSymbol.Equals(node.
Indices
[0].Type, compilation.GetWellKnownType(WellKnownType.System_Range), TypeCompareKind.ConsiderEverything2))
Generated\BoundNodes.xml.Generated.cs (5)
2070
if (expression != this.Expression || indices != this.
Indices
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
9972
this.VisitList(node.
Indices
);
11100
ImmutableArray<BoundExpression> indices = this.VisitList(node.
Indices
);
12903
ImmutableArray<BoundExpression> indices = this.VisitList(node.
Indices
);
15417
new TreeDumperNode("indices", null, from x in node.
Indices
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
294
if (node.
Indices
.Length == 1)
296
var arg = node.
Indices
[0];
306
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__ArrayIndex_Expression_Expressions, array, Indices(node.
Indices
));
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
92
node.
Indices
.Length == 1 &&
93
!node.
Indices
[0].Type!.SpecialType.CanOptimizeBehavior())
Lowering\LocalRewriter\LocalRewriter.cs (3)
826
if (node.
Indices
.Length != 1)
831
var indexType = VisitType(node.
Indices
[0].Type);
852
VisitExpression(node.
Indices
[0])));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
444
return SpillArrayElementAccess(arrayAccess.Expression, arrayAccess.
Indices
, stores, temps);
670
var loweredIndices = VisitList(arrayAccess.
Indices
);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (3)
408
Debug.Assert(!arrayAccess.
Indices
.Any(a => a.IsParamsArrayOrCollection));
411
arrayAccess.
Indices
,
563
foreach (var index in arrayAccess.
Indices
)
Lowering\SpillSequenceSpiller.cs (3)
782
var indices = this.VisitExpressionList(ref indicesBuilder, node.
Indices
);
893
var indices = this.VisitExpressionList(ref leftBuilder, arrayAccess.
Indices
, forceSpill: true);
940
var indices = this.VisitExpressionList(ref leftBuilder, arrayAccess.
Indices
, forceSpill: true);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
590
foreach (var index in array.
Indices
)
Operations\CSharpOperationFactory.cs (1)
1627
ImmutableArray<IOperation> indices = CreateFromArray<BoundExpression, IOperation>(boundArrayAccess.
Indices
);