Binder\Binder.ValueChecks.cs (13)
803return CheckValueKind(node, fieldAccess.ReceiverOpt, valueKind, checkingReceiver: true, diagnostics);
1331!CanModifyReadonlyField(fieldAccess.ReceiverOpt is BoundThisReference, fieldSymbol))
1372return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, BindValueKind.Assignable, diagnostics);
1400return CheckIsValidReceiverForVariable(node, fieldAccess.ReceiverOpt, valueKind, diagnostics);
1487return GetValEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
1492return GetRefEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
1504Debug.Assert(fieldAccess.ReceiverOpt is { });
1511return CheckValEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, checkingReceiver: true, diagnostics);
1516return CheckRefEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, checkingReceiver: true, diagnostics: diagnostics);
4130return GetValEscape(fieldAccess.ReceiverOpt, scopeOfTheContainingExpression);
4840return CheckValEscape(node, fieldAccess.ReceiverOpt, escapeFrom, escapeTo, true, diagnostics);
5878var receiver = fieldAccess.ReceiverOpt;
5907fieldAccess.ReceiverOpt.Kind == BoundKind.ThisReference;