1 write to IndexerOrSliceAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7479this.IndexerOrSliceAccess = indexerOrSliceAccess;
37 references to IndexerOrSliceAccess
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder.ValueChecks.cs (12)
537if (implicitIndexer.IndexerOrSliceAccess is BoundIndexerAccess indexerAccess) 688case BoundKind.ImplicitIndexerAccess when ((BoundImplicitIndexerAccess)expr).IndexerOrSliceAccess.Kind == BoundKind.IndexerAccess: 864switch (implicitIndexer.IndexerOrSliceAccess) 873throw ExceptionUtilities.UnexpectedValue(implicitIndexer.IndexerOrSliceAccess.Kind); 3484switch (implicitIndexerAccess.IndexerOrSliceAccess) 3523throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 3792switch (implicitIndexerAccess.IndexerOrSliceAccess) 3844throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 4185switch (implicitIndexerAccess.IndexerOrSliceAccess) 4218throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 4908switch (implicitIndexerAccess.IndexerOrSliceAccess) 4951throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
Binder\Binder_Statements.cs (5)
1655switch (implicitIndexerAccess.IndexerOrSliceAccess) 1668throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 1710BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundCall call } => call.Method, 1712BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundIndexerAccess indexerAccess } => indexerAccess.Indexer, 1714BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundArrayAccess } => null,
BoundTree\BoundDagEvaluation.cs (1)
60case BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundArrayAccess arrayAccess }:
BoundTree\BoundExpressionExtensions.cs (1)
43return ((BoundImplicitIndexerAccess)node).IndexerOrSliceAccess.GetRefKind();
BoundTree\BoundImplicitIndexerAccess.cs (2)
15this.IndexerOrSliceAccess, this.ArgumentPlaceholders, this.Type); 21Debug.Assert(IndexerOrSliceAccess is BoundIndexerAccess or BoundCall or BoundArrayAccess);
BoundTree\NullabilityRewriter.cs (1)
213BoundExpression indexerAccess = (BoundExpression)this.Visit(node.IndexerOrSliceAccess);
Compilation\CSharpSemanticModel.cs (1)
3492return GetSemanticSymbols(((BoundImplicitIndexerAccess)boundNode).IndexerOrSliceAccess,
FlowAnalysis\NullableWalker.cs (1)
10715VisitRvalue(node.IndexerOrSliceAccess);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
391Visit(node.IndexerOrSliceAccess);
FlowAnalysis\NullableWalker_Patterns.cs (1)
857BoundImplicitIndexerAccess implicitIndexerAccess => getIndexerOutputType(inputType, implicitIndexerAccess.IndexerOrSliceAccess, isSlice),
Generated\BoundNodes.xml.Generated.cs (3)
7500if (receiver != this.Receiver || argument != this.Argument || lengthOrCountAccess != this.LengthOrCountAccess || receiverPlaceholder != this.ReceiverPlaceholder || indexerOrSliceAccess != this.IndexerOrSliceAccess || argumentPlaceholders != this.ArgumentPlaceholders || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11965BoundExpression indexerOrSliceAccess = node.IndexerOrSliceAccess; 16770new TreeDumperNode("indexerOrSliceAccess", null, new TreeDumperNode[] { Visit(node.IndexerOrSliceAccess, null) }),
Lowering\LocalRewriter\LocalRewriter.cs (1)
1096return CanBePassedByReference(((BoundImplicitIndexerAccess)expr).IndexerOrSliceAccess);
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
425Debug.Assert(implicitIndexerAccess.IndexerOrSliceAccess.GetRefKind() == RefKind.None);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (6)
448Debug.Assert(!isLeftOfAssignment || node.IndexerOrSliceAccess.GetRefKind() == RefKind.Ref); 480Debug.Assert(node.IndexerOrSliceAccess is BoundIndexerAccess or BoundArrayAccess); 567if (node.IndexerOrSliceAccess is BoundIndexerAccess indexerAccess) 622rewrittenIndexerAccess = (BoundExpression)VisitArrayAccess((BoundArrayAccess)node.IndexerOrSliceAccess); 772Debug.Assert(node.IndexerOrSliceAccess is BoundCall); 986var sliceCall = (BoundCall)node.IndexerOrSliceAccess;