示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ValidationDataSize != 0UL)
            {
                hash ^= ValidationDataSize.GetHashCode();
            }
            if (ValidationHash.Length != 0)
            {
                hash ^= ValidationHash.GetHashCode();
            }
            if (lifetime_ != null)
            {
                hash ^= Lifetime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ValidationDataSize != 0UL)
            {
                hash ^= ValidationDataSize.GetHashCode();
            }
            if (validationHash_ != null)
            {
                hash ^= ValidationHash.GetHashCode();
            }
            if (ExpirationEpoch != 0UL)
            {
                hash ^= ExpirationEpoch.GetHashCode();
            }
            hash ^= members_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }