Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Level;
         hashCode = (hashCode * 397) ^ (Party != null ? Party.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (InvocationMessage != null ? InvocationMessage.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ReturnMessage != null ? ReturnMessage.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (ReturnMessage.Length != 0)
        {
            hash ^= ReturnMessage.GetHashCode();
        }
        if (addressUpdatable_ != null)
        {
            hash ^= AddressUpdatable.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }