Esempio n. 1
0
        public override int GetHashCode()
        {
            int hashCode = -1849913550;

            if (Type != null)
            {
                hashCode += Type.GetHashCode();
            }

            if (PhysicalCount != null)
            {
                hashCode += PhysicalCount.GetHashCode();
            }

            if (Adjustment != null)
            {
                hashCode += Adjustment.GetHashCode();
            }

            if (Transfer != null)
            {
                hashCode += Transfer.GetHashCode();
            }

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Adjustment != 0)
            {
                hash ^= Adjustment.GetHashCode();
            }
            if (CurrencyType.Length != 0)
            {
                hash ^= CurrencyType.GetHashCode();
            }
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }