/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Bundles != null) { hashCode = hashCode * 59 + Bundles.GetHashCode(); } if (Features != null) { hashCode = hashCode * 59 + Features.GetHashCode(); } if (Constraints != null) { hashCode = hashCode * 59 + Constraints.GetHashCode(); } if (Eligibility != null) { hashCode = hashCode * 59 + Eligibility.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (DepositRates != null) { hashCode = hashCode * 59 + DepositRates.GetHashCode(); } if (LendingRates != null) { hashCode = hashCode * 59 + LendingRates.GetHashCode(); } return(hashCode); } }