public bool Equals(DocumentChangeWrapper?other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (GetType() != other.GetType()) { return(false); } if (ReferenceEquals(_documentChange, other._documentChange)) { return(true); } return(_documentChange.Equals(other._documentChange)); }