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