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