示例#1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked {
         int hashCode = Iterations.GetHashCode();
         hashCode = (hashCode * 397) ^ Blocks.GetHashCode();
         hashCode = (hashCode * 397) ^ Parallelism.GetHashCode();
         return(hashCode);
     }
 }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Digits != 0)
            {
                hash ^= Digits.GetHashCode();
            }
            if (Iterations != 0)
            {
                hash ^= Iterations.GetHashCode();
            }
            if (ReceiverAddress.Length != 0)
            {
                hash ^= ReceiverAddress.GetHashCode();
            }
            return(hash);
        }
示例#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);
        }