public override int GetHashCode()
 {
     unchecked
     {
         return(((int)Number * 397) ^ (DepositId != null ? DepositId.GetHashCode() : 0));
     }
 }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (DepositId.Length != 0)
            {
                hash ^= DepositId.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Iterations != 0)
            {
                hash ^= Iterations.GetHashCode();
            }
            if (HeaderId.Length != 0)
            {
                hash ^= HeaderId.GetHashCode();
            }
            if (DepositId.Length != 0)
            {
                hash ^= DepositId.GetHashCode();
            }
            hash ^= args_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     return(DepositId != null ? DepositId.GetHashCode() : 0);
 }