5 references to CheckIsValidReceiverForVariable
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.ValueChecks.cs (5)
1395return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, BindValueKind.Assignable, diagnostics);
1423return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, valueKind, diagnostics);
1596if (!CheckIsValidReceiverForVariable(eventSyntax, receiver, BindValueKind.Assignable, diagnostics))
1618!CheckIsValidReceiverForVariable(eventSyntax, receiver, valueKind, diagnostics))
1798if (RequiresVariableReceiver(receiver, setMethod) && !CheckIsValidReceiverForVariable(node, receiver, setValueKind, diagnostics))