public override int GetHashCode() { int hash = 1; if (BaseCurrencyName.Length != 0) { hash ^= BaseCurrencyName.GetHashCode(); } if (CurrencyName.Length != 0) { hash ^= CurrencyName.GetHashCode(); } if (BuyRate != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BuyRate); } if (SellRate != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SellRate); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.currencyCode) { hashcode = (hashcode * 397) + CurrencyCode.GetHashCode(); } if (__isset.currencyName) { hashcode = (hashcode * 397) + CurrencyName.GetHashCode(); } if (__isset.currencySign) { hashcode = (hashcode * 397) + CurrencySign.GetHashCode(); } if (__isset.preferred) { hashcode = (hashcode * 397) + Preferred.GetHashCode(); } if (__isset.coinRate) { hashcode = (hashcode * 397) + CoinRate.GetHashCode(); } if (__isset.creditRate) { hashcode = (hashcode * 397) + CreditRate.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (CurrencyName.Length != 0) { hash ^= CurrencyName.GetHashCode(); } if (CurrencyDelta != 0) { hash ^= CurrencyDelta.GetHashCode(); } if (CurrencyBalance != 0) { hash ^= CurrencyBalance.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }