1 write to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7419
this.
ReceiverOpt
= receiverOpt;
30 references to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.ValueChecks.cs (5)
475
indexerAccess.
ReceiverOpt
,
3492
indexerAccess.
ReceiverOpt
,
3797
indexerAccess.
ReceiverOpt
,
4194
indexerAccess.
ReceiverOpt
,
4914
indexerAccess.
ReceiverOpt
,
Binder\Binder_Statements.cs (1)
1644
receiver = indexerAccess.
ReceiverOpt
;
Binder\RefSafetyAnalysis.cs (3)
836
Visit(node.
ReceiverOpt
);
837
VisitArgumentsAndGetArgumentPlaceholders(node.
ReceiverOpt
, node.Arguments);
845
node.
ReceiverOpt
,
BoundTree\BoundExpression.cs (1)
356
ReceiverOpt
,
BoundTree\Expression.cs (1)
61
ImmutableArray<BoundNode> IBoundInvalidNode.InvalidNodeChildren => CSharpOperationFactory.CreateInvalidChildrenFromArgumentsExpression(
ReceiverOpt
, Arguments);
FlowAnalysis\AbstractFlowPass.cs (2)
1483
VisitReceiverBeforeCall(node.
ReceiverOpt
, method);
1487
VisitReceiverAfterCall(node.
ReceiverOpt
, method);
FlowAnalysis\NullableWalker.cs (1)
10690
var receiverOpt = node.
ReceiverOpt
;
Generated\BoundNodes.xml.Generated.cs (5)
7450
if (receiverOpt != this.
ReceiverOpt
|| initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(indexer, this.Indexer) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || accessorKind != this.AccessorKind || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || originalIndexersOpt != this.OriginalIndexersOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10613
this.Visit(node.
ReceiverOpt
);
11953
BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.
ReceiverOpt
);
14487
BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.
ReceiverOpt
);
16747
new TreeDumperNode("receiverOpt", null, new TreeDumperNode[] { Visit(node.
ReceiverOpt
, null) }),
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
534
CheckReceiverIfField(node.
ReceiverOpt
);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
316
MethodMayMutateReceiver(node.
ReceiverOpt
, node.Indexer.GetMethod);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
202
BoundExpression? rewrittenReceiver = indexerAccess.
ReceiverOpt
;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
246
var receiverOpt = indexerAccess.
ReceiverOpt
;
435
return TransformIndexerAccessContinued(indexerAccess, indexerAccess.
ReceiverOpt
!, indexerAccess.Arguments, stores, temps);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
84
BoundExpression? rewrittenReceiver = VisitExpression(node.
ReceiverOpt
);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
495
rewrittenAccess = TransformIndexerAccessContinued(indexerAccess, indexerAccess.
ReceiverOpt
!, indexerAccess.Arguments, result, temps);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
874
return MakePropertyGetAccess(transformedExpression.Syntax, indexerAccess.
ReceiverOpt
, indexerAccess.Indexer, indexerAccess.Arguments, indexerAccess.ArgumentRefKindsOpt);
Operations\CSharpOperationFactory.cs (3)
606
return CreateReceiverOperation(boundIndexerAccess.
ReceiverOpt
, boundIndexerAccess.ExpressionSymbol);
638
IOperation? instance = CreateReceiverOperation(boundIndexerAccess.
ReceiverOpt
, boundIndexerAccess.ExpressionSymbol);
639
TypeParameterSymbol? constrainedToType = GetConstrainedToType(property, boundIndexerAccess.
ReceiverOpt
);