1 write to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7420
this.
ReceiverOpt
= receiverOpt;
30 references to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.ValueChecks.cs (5)
452
indexerAccess.
ReceiverOpt
,
3469
indexerAccess.
ReceiverOpt
,
3774
indexerAccess.
ReceiverOpt
,
4170
indexerAccess.
ReceiverOpt
,
4890
indexerAccess.
ReceiverOpt
,
Binder\Binder_Statements.cs (1)
1647
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)
10687
var receiverOpt = node.
ReceiverOpt
;
Generated\BoundNodes.xml.Generated.cs (5)
7451
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))
10614
this.Visit(node.
ReceiverOpt
);
11954
BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.
ReceiverOpt
);
14488
BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.
ReceiverOpt
);
16748
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
);