Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ServerTimestamp != 0)
            {
                hash ^= ServerTimestamp.GetHashCode();
            }
            if (ClientIp != 0)
            {
                hash ^= ClientIp.GetHashCode();
            }
            if (RedirectIp != 0)
            {
                hash ^= RedirectIp.GetHashCode();
            }
            if (RedirectPort != 0)
            {
                hash ^= RedirectPort.GetHashCode();
            }
            if (ClientIpV6.Length != 0)
            {
                hash ^= ClientIpV6.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }