public override int GetHashCode()
        {
            int hash = 1;

            if (AdditionalStorage != 0)
            {
                hash ^= AdditionalStorage.GetHashCode();
            }
            if (UpgradeType != 0)
            {
                hash ^= UpgradeType.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AdditionalStorage != 0)
            {
                hash ^= AdditionalStorage.GetHashCode();
            }
            if (UpgradeType != 0)
            {
                hash ^= UpgradeType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }