コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Msgid != 0)
            {
                hash ^= Msgid.GetHashCode();
            }
            if (Gsid != 0)
            {
                hash ^= Gsid.GetHashCode();
            }
            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Port != 0)
            {
                hash ^= Port.GetHashCode();
            }
            if (Usepwd.Length != 0)
            {
                hash ^= Usepwd.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (Gsid != 0)
                    {
                        hash ^= Gsid.GetHashCode();
                    }
                    if (Gcnid != 0)
                    {
                        hash ^= Gcnid.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Mgsid != 0)
            {
                hash ^= Mgsid.GetHashCode();
            }
            if (Gsid != 0)
            {
                hash ^= Gsid.GetHashCode();
            }
            if (Listenport != 0)
            {
                hash ^= Listenport.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }