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

            if (ExceptionMessage.Length != 0)
            {
                hash ^= ExceptionMessage.GetHashCode();
            }
            if (ExceptionId.Length != 0)
            {
                hash ^= ExceptionId.GetHashCode();
            }
            if (timestamp_ != null)
            {
                hash ^= Timestamp.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (user_ != null)
            {
                hash ^= User.GetHashCode();
            }
            if (ExceptionMessage.Length != 0)
            {
                hash ^= ExceptionMessage.GetHashCode();
            }
            if (ExceptionId.Length != 0)
            {
                hash ^= ExceptionId.GetHashCode();
            }
            if (JWToken.Length != 0)
            {
                hash ^= JWToken.GetHashCode();
            }
            return(hash);
        }