Binder\Binder.ValueChecks.cs (13)
826return CheckValueKind(node, fieldAccess.ReceiverOpt, valueKind, checkingReceiver: true, diagnostics);
1354!CanModifyReadonlyField(fieldAccess.ReceiverOpt is BoundThisReference, fieldSymbol))
1395return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, BindValueKind.Assignable, diagnostics);
1423return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, valueKind, diagnostics);
1510return GetValEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
1515return GetRefEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
1527Debug.Assert(fieldAccess.ReceiverOpt is { });
1534return CheckValEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, checkingReceiver: true, diagnostics);
1539return CheckRefEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, checkingReceiver: true, diagnostics: diagnostics);
4154return GetValEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
4864return CheckValEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, true, diagnostics);
5902var receiver = fieldAccess.ReceiverOpt;
5931fieldAccess.ReceiverOpt.Kind == BoundKind.ThisReference;