3 instantiations of BoundImplicitIndexerAccess
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (2)
9377return new BoundImplicitIndexerAccess( 9930implicitIndexerAccess = new BoundImplicitIndexerAccess(
Generated\BoundNodes.xml.Generated.cs (1)
7502var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.HasErrors);
69 references to BoundImplicitIndexerAccess
Microsoft.CodeAnalysis.CSharp (69)
Binder\Binder.ValueChecks.cs (13)
536var implicitIndexer = (BoundImplicitIndexerAccess)expr; 688case BoundKind.ImplicitIndexerAccess when ((BoundImplicitIndexerAccess)expr).IndexerOrSliceAccess.Kind == BoundKind.IndexerAccess: 863var implicitIndexer = (BoundImplicitIndexerAccess)expr; 3480var implicitIndexerAccess = (BoundImplicitIndexerAccess)expr; 3788var implicitIndexerAccess = (BoundImplicitIndexerAccess)expr; 4181var implicitIndexerAccess = (BoundImplicitIndexerAccess)expr; 4904var implicitIndexerAccess = (BoundImplicitIndexerAccess)expr;
Binder\Binder_Expressions.cs (5)
5929var implicitIndexer = (BoundImplicitIndexerAccess)boundMember; 9604out var implicitIndexerAccess)) 9801out var implicitIndexerAccess)) 9890[NotNullWhen(true)] out BoundImplicitIndexerAccess? implicitIndexerAccess)
Binder\Binder_Patterns.cs (2)
240Debug.Assert(indexerAccess is BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess or BoundBadExpression or BoundDynamicIndexerAccess); 389Debug.Assert(indexerAccess is BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess or BoundBadExpression or BoundDynamicIndexerAccess);
Binder\Binder_Statements.cs (5)
1653var implicitIndexerAccess = (BoundImplicitIndexerAccess)expr; 1710BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundCall call } => call.Method, 1712BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundIndexerAccess indexerAccess } => indexerAccess.Indexer, 1714BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundArrayAccess } => null,
Binder\RefSafetyAnalysis.cs (1)
899public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node)
BoundTree\BoundDagEvaluation.cs (3)
60case BoundImplicitIndexerAccess { IndexerOrSliceAccess: BoundArrayAccess arrayAccess }: 131Debug.Assert(IndexerAccess is BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess); 147Debug.Assert(IndexerAccess is BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess);
BoundTree\BoundExpressionExtensions.cs (1)
43return ((BoundImplicitIndexerAccess)node).IndexerOrSliceAccess.GetRefKind();
BoundTree\BoundImplicitIndexerAccess.cs (1)
12internal BoundImplicitIndexerAccess WithLengthOrCountAccess(BoundExpression lengthOrCountAccess)
BoundTree\BoundListPattern.cs (1)
14Debug.Assert(IndexerAccess is null or BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess or BoundBadExpression or BoundDynamicIndexerAccess);
BoundTree\BoundSlicePattern.cs (1)
13Debug.Assert(IndexerAccess is null or BoundIndexerAccess or BoundImplicitIndexerAccess or BoundArrayAccess or BoundBadExpression or BoundDynamicIndexerAccess);
BoundTree\NullabilityRewriter.cs (2)
208public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node) 214BoundImplicitIndexerAccess updatedNode;
Compilation\CSharpSemanticModel.cs (1)
3492return GetSemanticSymbols(((BoundImplicitIndexerAccess)boundNode).IndexerOrSliceAccess,
FlowAnalysis\AbstractFlowPass.cs (1)
1493public override BoundNode VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node)
FlowAnalysis\NullableWalker.cs (1)
10708public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
387public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node)
FlowAnalysis\NullableWalker_Patterns.cs (1)
857BoundImplicitIndexerAccess implicitIndexerAccess => getIndexerOutputType(inputType, implicitIndexerAccess.IndexerOrSliceAccess, isSlice),
Generated\BoundNodes.xml.Generated.cs (8)
7498public BoundImplicitIndexerAccess Update(BoundExpression receiver, BoundExpression argument, BoundExpression lengthOrCountAccess, BoundImplicitIndexerReceiverPlaceholder receiverPlaceholder, BoundExpression indexerOrSliceAccess, ImmutableArray<BoundImplicitIndexerValuePlaceholder> argumentPlaceholders, TypeSymbol type) 7502var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.HasErrors); 9224return VisitImplicitIndexerAccess((BoundImplicitIndexerAccess)node, arg); 9500public virtual R VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node, A arg) => this.DefaultVisit(node, arg); 9736public virtual BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node) => this.DefaultVisit(node); 10618public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node) 11959public override BoundNode? VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node) 16764public override TreeDumperNode VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node, object? arg) => new TreeDumperNode("implicitIndexerAccess", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
101public override BoundNode VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node)
Lowering\LocalRewriter\LocalRewriter.cs (1)
1096return CanBePassedByReference(((BoundImplicitIndexerAccess)expr).IndexerOrSliceAccess);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
257if (indexerAccess is BoundImplicitIndexerAccess implicitAccess) 283if (indexerAccess is BoundImplicitIndexerAccess implicitAccess)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
39(BoundImplicitIndexerAccess)left,
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (4)
406BoundImplicitIndexerAccess indexerAccess, 423private BoundExpression TransformIndexPatternIndexerAccess(BoundImplicitIndexerAccess implicitIndexerAccess, bool isRegularCompoundAssignment, ArrayBuilder<BoundExpression> stores, ArrayBuilder<LocalSymbol> temps, bool isDynamicAssignment) 621var implicitIndexerAccess = (BoundImplicitIndexerAccess)originalLHS;
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (6)
428public override BoundNode VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node) 433private BoundExpression VisitImplicitIndexerAccess(BoundImplicitIndexerAccess node, bool isLeftOfAssignment) 454private BoundExpression VisitIndexPatternIndexerAccess(BoundImplicitIndexerAccess node, bool isLeftOfAssignment) 472BoundImplicitIndexerAccess node, 755private BoundExpression VisitRangePatternIndexerAccess(BoundImplicitIndexerAccess node) 769private BoundExpression VisitRangePatternIndexerAccess(BoundImplicitIndexerAccess node, ArrayBuilder<LocalSymbol> localsBuilder, ArrayBuilder<BoundExpression> sideEffectsBuilder, bool cacheAllArgumentsOnly)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (4)
481var implicitIndexer = (BoundImplicitIndexerAccess)left; 524or BoundImplicitIndexerAccess 557else if (lhs is BoundImplicitIndexerAccess implicitIndexerAccess)
Operations\CSharpOperationFactory.cs (2)
141return CreateBoundImplicitIndexerAccessOperation((BoundImplicitIndexerAccess)boundNode); 1635private IOperation CreateBoundImplicitIndexerAccessOperation(BoundImplicitIndexerAccess boundIndexerAccess)