public override int GetHashCode() { int hash = 1; if (RequestedBytes != 0L) { hash ^= RequestedBytes.GetHashCode(); } if (AllocatedBytes != 0L) { hash ^= AllocatedBytes.GetHashCode(); } if (AllocatorName.Length != 0) { hash ^= AllocatorName.GetHashCode(); } if (AllocationId != 0L) { hash ^= AllocationId.GetHashCode(); } if (HasSingleReference != false) { hash ^= HasSingleReference.GetHashCode(); } if (Ptr != 0UL) { hash ^= Ptr.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (RequestedBytes != 0L) hash ^= RequestedBytes.GetHashCode(); if (AllocatedBytes != 0L) hash ^= AllocatedBytes.GetHashCode(); if (AllocatorName.Length != 0) hash ^= AllocatorName.GetHashCode(); if (AllocationId != 0L) hash ^= AllocationId.GetHashCode(); if (HasSingleReference != false) hash ^= HasSingleReference.GetHashCode(); if (Ptr != 0UL) hash ^= Ptr.GetHashCode(); return hash; }
public override int GetHashCode() { unchecked { int hashCode = Gen0Collections; hashCode = (hashCode * 397) ^ Gen1Collections; hashCode = (hashCode * 397) ^ Gen2Collections; hashCode = (hashCode * 397) ^ AllocatedBytes.GetHashCode(); hashCode = (hashCode * 397) ^ TotalOperations.GetHashCode(); return(hashCode); } }