Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StmtId != 0)
            {
                hash ^= StmtId.GetHashCode();
            }
            if (stmt_ != null)
            {
                hash ^= Stmt.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StmtId != 0)
            {
                hash ^= StmtId.GetHashCode();
            }
            hash ^= args_.GetHashCode();
            if (CompactMetadata != false)
            {
                hash ^= CompactMetadata.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }