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

            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (ExpirationTimeUsec != 0L)
            {
                hash ^= ExpirationTimeUsec.GetHashCode();
            }
            if (Fingerprint.Length != 0)
            {
                hash ^= Fingerprint.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (ExpirationTimeUsec != 0L)
            {
                hash ^= ExpirationTimeUsec.GetHashCode();
            }
            if (Fingerprint.Length != 0)
            {
                hash ^= Fingerprint.GetHashCode();
            }
            return(hash);
        }