1 write to IndexerOrSliceAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7478this.IndexerOrSliceAccess = indexerOrSliceAccess;
37 references to IndexerOrSliceAccess
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder.ValueChecks.cs (12)
560if (implicitIndexer.IndexerOrSliceAccess is BoundIndexerAccess indexerAccess) 711case BoundKind.ImplicitIndexerAccess when ((BoundImplicitIndexerAccess)expr).IndexerOrSliceAccess.Kind == BoundKind.IndexerAccess: 887switch (implicitIndexer.IndexerOrSliceAccess) 896throw ExceptionUtilities.UnexpectedValue(implicitIndexer.IndexerOrSliceAccess.Kind); 3507switch (implicitIndexerAccess.IndexerOrSliceAccess) 3546throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 3815switch (implicitIndexerAccess.IndexerOrSliceAccess) 3867throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 4209switch (implicitIndexerAccess.IndexerOrSliceAccess) 4242throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 4932switch (implicitIndexerAccess.IndexerOrSliceAccess) 4975throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind);
Binder\Binder_Statements.cs (5)
1652switch (implicitIndexerAccess.IndexerOrSliceAccess) 1665throw ExceptionUtilities.UnexpectedValue(implicitIndexerAccess.IndexerOrSliceAccess.Kind); 1707BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundCall call } => call.Method, 1709BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundIndexerAccess indexerAccess } => indexerAccess.Indexer, 1711BoundImplicitIndexerAccess { 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)
10718VisitRvalue(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)
7499if (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)) 11964BoundExpression indexerOrSliceAccess = node.IndexerOrSliceAccess; 16769new 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;