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