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

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (kv_ != null)
            {
                hash ^= Kv.GetHashCode();
            }
            if (prevKv_ != null)
            {
                hash ^= PrevKv.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != global::Mvccpb.Event.Types.EventType.Put)
            {
                hash ^= Type.GetHashCode();
            }
            if (kv_ != null)
            {
                hash ^= Kv.GetHashCode();
            }
            if (prevKv_ != null)
            {
                hash ^= PrevKv.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }