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

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

            if (Cate != 0)
            {
                hash ^= Cate.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            hash ^= samples_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }