1 write to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7420this.ReceiverOpt = receiverOpt;
30 references to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.ValueChecks.cs (5)
452indexerAccess.ReceiverOpt, 3469indexerAccess.ReceiverOpt, 3774indexerAccess.ReceiverOpt, 4170indexerAccess.ReceiverOpt, 4896indexerAccess.ReceiverOpt,
Binder\Binder_Statements.cs (1)
1647receiver = indexerAccess.ReceiverOpt;
Binder\RefSafetyAnalysis.cs (3)
861Visit(node.ReceiverOpt); 862VisitArgumentsAndGetArgumentPlaceholders(node.ReceiverOpt, node.Arguments); 870node.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)
10748var receiverOpt = node.ReceiverOpt;
Generated\BoundNodes.xml.Generated.cs (5)
7451if (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)) 10650this.Visit(node.ReceiverOpt); 11990BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.ReceiverOpt); 14524BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.ReceiverOpt); 16784new 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);