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

            if (address_ != null)
            {
                hash ^= Address.GetHashCode();
            }
            if (Port != 0)
            {
                hash ^= Port.GetHashCode();
            }
            if (networkList_ != null)
            {
                hash ^= NetworkList.GetHashCode();
            }
            hash ^= networks_.GetHashCode();
            if (Timeout != 0)
            {
                hash ^= Timeout.GetHashCode();
            }
            if (FollowRedirect != false)
            {
                hash ^= FollowRedirect.GetHashCode();
            }
            if (UserLevel != 0)
            {
                hash ^= UserLevel.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }