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

            if (ClientAddress.Length != 0)
            {
                hash ^= ClientAddress.GetHashCode();
            }
            if (PrivilegedNetwork != false)
            {
                hash ^= PrivilegedNetwork.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasClientAddress)
            {
                hash ^= ClientAddress.GetHashCode();
            }
            if (HasPrivilegedNetwork)
            {
                hash ^= PrivilegedNetwork.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     return(ClientAddress.GetHashCode());
 }