1 write to Indices
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2057this.Indices = indices;
32 references to Indices
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
794return checkArrayAccessValueKind(node, valueKind, ((BoundArrayAccess)expr).Indices, diagnostics); 890return checkArrayAccessValueKind(node, valueKind, arrayAccess.Indices, diagnostics);
CodeGen\EmitAddress.cs (1)
398EmitArrayIndices(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)
4792foreach (var i in node.Indices) 4798if (node.Indices.Length == 1 && 4799TypeSymbol.Equals(node.Indices[0].Type, compilation.GetWellKnownType(WellKnownType.System_Range), TypeCompareKind.ConsiderEverything2))
Generated\BoundNodes.xml.Generated.cs (5)
2069if (expression != this.Expression || indices != this.Indices || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 9971this.VisitList(node.Indices); 11099ImmutableArray<BoundExpression> indices = this.VisitList(node.Indices); 12902ImmutableArray<BoundExpression> indices = this.VisitList(node.Indices); 15416new 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)
573foreach (var index in array.Indices)
Operations\CSharpOperationFactory.cs (1)
1627ImmutableArray<IOperation> indices = CreateFromArray<BoundExpression, IOperation>(boundArrayAccess.Indices);