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