22 writes to Receiver
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder.ValueChecks.cs (22)
117Receiver = substitutedReceiver ?? call.ReceiverOpt, 130Receiver = receiver, 144Receiver = null, 160Receiver = substitutedReceiver ?? indexerAccess.ReceiverOpt, 176Receiver = null, 192Receiver = null, 209Receiver = null, 223Receiver = null, 236Receiver = null, 249Receiver = null, 264Receiver = null, 281Receiver = method.IsStatic ? null : compoundOperator.Left, 295Receiver = null, 310Receiver = propertyAccess.ReceiverOpt, 322Receiver = colElement.ImplicitReceiverOpt, 2436result.Receiver = null; 2505Receiver = null, 2899localMethodInvocationInfo with { Receiver = null }, 2991receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3056adjustedMethodInvocationInfo = adjustedMethodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3179receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 4966Receiver = null,
17 references to Receiver
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (8)
2334if (methodInvocationInfo.MethodInfo.Method?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true) 2336escapeScope = escapeScope.Intersect(GetValEscape(methodInvocationInfo.Receiver)); 2433if (methodInvocationInfo.Receiver is not null) 2435result.ArgsOpt = methodInvocationInfo.ArgsOpt.IsDefault ? [methodInvocationInfo.Receiver] : [methodInvocationInfo.Receiver, .. methodInvocationInfo.ArgsOpt]; 2556var receiver = methodInvocationInfo.Receiver; 2606if ((object)((argument as BoundCapturedReceiverPlaceholder)?.Receiver ?? argument) != methodInvocationInfo.Receiver && methodInvocationInfo.MethodInfo.Symbol is not SignatureOnlyMethodSymbol) 2665var receiver = methodInvocationInfo.Receiver;
Binder\RefSafetyAnalysis.cs (9)
778if (methodInvocationInfo.Receiver is BoundCall receiver1) 786while (methodInvocationInfo.Receiver is BoundCall receiver2) 859if (methodInvocationInfo.Receiver is not null) 861Visit(methodInvocationInfo.Receiver); 874VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Method.IsExtensionBlockMember()); 1080Visit(methodInvocationInfo.Receiver); 1081VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Indexer.IsExtensionBlockMember()); 1207Visit(methodInvocationInfo.Receiver); 1212Debug.Assert(methodInvocationInfo.Receiver is null);