public bool Equals(ValueReader <T> x, ValueReader <T> y) { if (ReferenceEquals(x, y)) { return(true); } if (ReferenceEquals(x, null)) { return(false); } if (ReferenceEquals(y, null)) { return(false); } if (x.GetType() != y.GetType()) { return(false); } return(Equals(x.GetMemberName(), y.GetMemberName())); }
public int GetHashCode(ValueReader <T> obj) { return(obj.GetMemberName().GetHashCode()); }