/// <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 (MinConfirmations != null) { hashCode = hashCode * 59 + MinConfirmations.GetHashCode(); } if (MinWithdrawalFee != null) { hashCode = hashCode * 59 + MinWithdrawalFee.GetHashCode(); } if (DisabledDepositAddressCreation != null) { hashCode = hashCode * 59 + DisabledDepositAddressCreation.GetHashCode(); } if (_Currency != null) { hashCode = hashCode * 59 + _Currency.GetHashCode(); } if (CurrencyLong != null) { hashCode = hashCode * 59 + CurrencyLong.GetHashCode(); } if (WithdrawalFee != null) { hashCode = hashCode * 59 + WithdrawalFee.GetHashCode(); } if (FeePrecision != null) { hashCode = hashCode * 59 + FeePrecision.GetHashCode(); } if (WithdrawalPriorities != null) { hashCode = hashCode * 59 + WithdrawalPriorities.GetHashCode(); } hashCode = hashCode * 59 + CoinType.GetHashCode(); return(hashCode); } }