22 writes to Receiver
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder.ValueChecks.cs (22)
138Receiver = substitutedReceiver ?? call.ReceiverOpt, 151Receiver = receiver, 165Receiver = null, 179Receiver = substitutedReceiver ?? indexerAccess.ReceiverOpt, 194Receiver = null, 210Receiver = null, 227Receiver = null, 241Receiver = null, 254Receiver = null, 267Receiver = null, 282Receiver = null, 299Receiver = method.IsStatic ? null : compoundOperator.Left, 313Receiver = null, 326Receiver = propertyAccess.ReceiverOpt, 337Receiver = colElement.ImplicitReceiverOpt, 2439result.Receiver = null; 2508Receiver = null, 2927localMethodInvocationInfo with { Receiver = null }, 3019receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3084adjustedMethodInvocationInfo = adjustedMethodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 3207receiverlessInvocationInfo = methodInvocationInfo with { Receiver = null, ReceiverIsSubjectToCloning = ThreeState.Unknown }; 4979Receiver = null,
17 references to Receiver
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (8)
2337if (methodInvocationInfo.MethodInfo.Method?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true) 2339escapeScope = escapeScope.Intersect(GetValEscape(methodInvocationInfo.Receiver)); 2436if (methodInvocationInfo.Receiver is not null) 2438result.ArgsOpt = methodInvocationInfo.ArgsOpt.IsDefault ? [methodInvocationInfo.Receiver] : [methodInvocationInfo.Receiver, .. methodInvocationInfo.ArgsOpt]; 2559var receiver = methodInvocationInfo.Receiver; 2609if ((object)((argument as BoundCapturedReceiverPlaceholder)?.Receiver ?? argument) != methodInvocationInfo.Receiver && methodInvocationInfo.MethodInfo.Symbol is not SignatureOnlyMethodSymbol) 2668var receiver = methodInvocationInfo.Receiver;
Binder\RefSafetyAnalysis.cs (9)
761if (methodInvocationInfo.Receiver is BoundCall receiver1) 769while (methodInvocationInfo.Receiver is BoundCall receiver2) 842if (methodInvocationInfo.Receiver is not null) 844Visit(methodInvocationInfo.Receiver); 857VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Method.IsExtensionBlockMember()); 1050Visit(methodInvocationInfo.Receiver); 1051VisitArgumentsAndGetArgumentPlaceholders(methodInvocationInfo.Receiver, methodInvocationInfo.ArgsOpt, node.Indexer.IsExtensionBlockMember()); 1177Visit(methodInvocationInfo.Receiver); 1182Debug.Assert(methodInvocationInfo.Receiver is null);