1 write to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7344this.ReceiverOpt = receiverOpt;
50 references to ReceiverOpt
Microsoft.CodeAnalysis.CSharp (50)
Binder\Binder.ValueChecks.cs (5)
540propertyAccess.ReceiverOpt, 3584propertyAccess.ReceiverOpt, 3940propertyAccess.ReceiverOpt, 4271propertyAccess.ReceiverOpt, 5009propertyAccess.ReceiverOpt,
Binder\Binder_Statements.cs (2)
1637receiver = propertyAccess.ReceiverOpt; 1756return AccessingAutoPropertyFromConstructor(propertyAccess.ReceiverOpt, propertyAccess.PropertySymbol, fromMember, propertyAccess.AutoPropertyAccessorKind);
FlowAnalysis\AbstractFlowPass.cs (16)
577VisitFieldAccessInternal(access.ReceiverOpt, backingField); 2142VisitReceiverBeforeCall(left.ReceiverOpt, method); 2144PropertySetter(node, left.ReceiverOpt, method, node.Right); 2198VisitReceiverBeforeCall(left.ReceiverOpt, readMethod); 2199VisitReceiverAfterCall(left.ReceiverOpt, readMethod); 2216PropertySetter(node, left.ReceiverOpt, writeMethod); 2217VisitReceiverAfterCall(left.ReceiverOpt, writeMethod); 2270VisitFieldAccessInternal(node.ReceiverOpt, backingField); 2276VisitReceiverBeforeCall(node.ReceiverOpt, method); 2277VisitReceiverAfterCall(node.ReceiverOpt, method); 2810VisitReceiverBeforeCall(left.ReceiverOpt, readMethod); 2811VisitReceiverAfterCall(left.ReceiverOpt, readMethod); 2812PropertySetter(node, left.ReceiverOpt, writeMethod); // followed by a write 3713VisitReceiverBeforeCall(left.ReceiverOpt, readMethod); 3714VisitReceiverAfterCall(left.ReceiverOpt, readMethod); 3770PropertySetter(node, propertyAccessOpt.ReceiverOpt, writeMethod);
FlowAnalysis\DefiniteAssignment.cs (4)
1116receiver = propAccess.ReceiverOpt; 1442if (!MayRequireTracking(propertyAccess.ReceiverOpt, backingField) || IsAssigned(propertyAccess.ReceiverOpt, out unassignedSlot)) 2730if (MayRequireTracking(node.ReceiverOpt, backingField))
FlowAnalysis\NullableWalker.cs (4)
1984receiver = propAccess.ReceiverOpt; 10670var updatedMember = VisitMemberAccess(node, node.ReceiverOpt, property); 10676ApplyMemberPostConditions(node.ReceiverOpt, property.GetMethod); 10680ApplyMemberPostConditions(node.ReceiverOpt, property.SetMethod);
FlowAnalysis\ReadWriteWalker.cs (1)
304underlying = ((BoundPropertyAccess)underlying).ReceiverOpt;
Generated\BoundNodes.xml.Generated.cs (5)
7363if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(propertySymbol, this.PropertySymbol) || autoPropertyAccessorKind != this.AutoPropertyAccessorKind || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10603this.Visit(node.ReceiverOpt); 11941BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.ReceiverOpt); 14450BoundExpression? receiverOpt = (BoundExpression?)this.Visit(node.ReceiverOpt); 16724new TreeDumperNode("receiverOpt", null, new TreeDumperNode[] { Visit(node.ReceiverOpt, null) }),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (3)
1103var receiver = node.PropertySymbol.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt); 1117if (node.ReceiverOpt?.Type.IsTypeParameter() == true && 1118!node.ReceiverOpt.Type.IsReferenceType)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
550CheckReceiverIfField(node.ReceiverOpt);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
182MethodMayMutateReceiver(node.ReceiverOpt, node.PropertySymbol.GetMethod);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
183BoundExpression? rewrittenReceiver = propertyAccess.ReceiverOpt;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
600return propertyAccess.Update(TransformPropertyOrEventReceiver(propertyAccess.PropertySymbol, propertyAccess.ReceiverOpt,
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
22var rewrittenReceiverOpt = VisitExpression(node.ReceiverOpt);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
866return MakePropertyGetAccess(transformedExpression.Syntax, propertyAccess.ReceiverOpt, propertyAccess.PropertySymbol, propertyAccess);
Lowering\MethodToClassRewriter.cs (1)
225var rewrittenReceiver = (BoundExpression?)Visit(node.ReceiverOpt);
Operations\CSharpOperationFactory.cs (3)
600return CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.PropertySymbol); 614IOperation? instance = CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.PropertySymbol); 620TypeParameterSymbol? constrainedToType = GetConstrainedToType(boundPropertyAccess.PropertySymbol, boundPropertyAccess.ReceiverOpt);