public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + Index; hash = hash * 23 + PreviousHash?.GetHashCode() ?? 0; hash = hash * 23 + Timestamp.GetHashCode(); hash = hash * 23 + Data?.GetHashCode() ?? 0; hash = hash * 23 + Hash?.GetHashCode() ?? 0; return(hash); } }
public override int GetHashCode() { return(Index.GetHashCode() ^ PreviousHash?.GetHashCode() ?? 0 ^ Digest.GetHashCode()); }
public override int GetHashCode() { return(DataGraphIri.GetHashCode() + DataHash.GetHashCode() + Hash.GetHashCode() + Index.GetHashCode() + PreviousBlock.GetHashCode() + PreviousHash.GetHashCode() + Timestamp.GetHashCode()); }