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

            if (Msgnum != 0)
            {
                hash ^= Msgnum.GetHashCode();
            }
            if (Uin.Length != 0)
            {
                hash ^= Uin.GetHashCode();
            }
            if (Sessionid.Length != 0)
            {
                hash ^= Sessionid.GetHashCode();
            }
            if (Plat != 0)
            {
                hash ^= Plat.GetHashCode();
            }
            if (LoginSuccess != 0)
            {
                hash ^= LoginSuccess.GetHashCode();
            }
            if (Nsid != 0)
            {
                hash ^= Nsid.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Msgnum != 0)
            {
                hash ^= Msgnum.GetHashCode();
            }
            if (Plat != 0)
            {
                hash ^= Plat.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }