public bool Equals(ExpressionRequest other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(MembersToExpand.SequenceEqual(other.MembersToExpand) && SourceType == other.SourceType && DestinationType == other.DestinationType); }