public bool Equals(MemberAccess other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.MemberReference, MemberReference) && other.IsReadOnly.Equals(IsReadOnly) && other.IsSelfCall.Equals(IsSelfCall) && Equals(other.OnField, OnField); }