22 writes to Receiver
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder.ValueChecks.cs (22)
118Receiver = substitutedReceiver ?? call.ReceiverOpt, 131Receiver = receiver, 145Receiver = null, 161Receiver = substitutedReceiver ?? indexerAccess.ReceiverOpt, 177Receiver = null, 193Receiver = null, 210Receiver = null, 224Receiver = null, 237Receiver = null, 250Receiver = null, 265Receiver = null, 282Receiver = method.IsStatic ? null : compoundOperator.Left, 296Receiver = null, 311Receiver = propertyAccess.ReceiverOpt, 323Receiver = colElement.ImplicitReceiverOpt, 2421result.Receiver = null; 2490Receiver = null, 2884localMethodInvocationInfo with { Receiver = null }, 2976receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3041adjustedMethodInvocationInfo = adjustedMethodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3164receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 4951Receiver = null,
17 references to Receiver
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (8)
2319if (methodInvocationInfo.MethodInfo.Method?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true) 2321escapeScope = escapeScope.Intersect(GetValEscape(methodInvocationInfo.Receiver)); 2418if (methodInvocationInfo.Receiver is not null) 2420result.ArgsOpt = methodInvocationInfo.ArgsOpt.IsDefault ? [methodInvocationInfo.Receiver] : [methodInvocationInfo.Receiver, .. methodInvocationInfo.ArgsOpt]; 2541var receiver = methodInvocationInfo.Receiver; 2591if ((object)((argument as BoundCapturedReceiverPlaceholder)?.Receiver ?? argument) != methodInvocationInfo.Receiver && methodInvocationInfo.MethodInfo.Symbol is not SignatureOnlyMethodSymbol) 2650var receiver = methodInvocationInfo.Receiver;
Binder\RefSafetyAnalysis.cs (9)
832if (methodInvocationInfo.Receiver is BoundCall receiver1) 840while (methodInvocationInfo.Receiver is BoundCall receiver2) 913if (methodInvocationInfo.Receiver is not null) 915Visit(methodInvocationInfo.Receiver); 928VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Method.IsExtensionBlockMember()); 1134Visit(methodInvocationInfo.Receiver); 1135VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Indexer.IsExtensionBlockMember()); 1261Visit(methodInvocationInfo.Receiver); 1266Debug.Assert(methodInvocationInfo.Receiver is null);