public override int GetHashCode() { int hash = 1; if (OwnerID.Length != 0) { hash ^= OwnerID.GetHashCode(); } if (Salt.Length != 0) { hash ^= Salt.GetHashCode(); } if (Capacity != 0UL) { hash ^= Capacity.GetHashCode(); } if (rules_ != null) { hash ^= Rules.GetHashCode(); } if (BasicACL != 0) { hash ^= BasicACL.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = 1023787409; hashCode = hashCode * -1521134295 + OwnerID.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(PreferredLender); return(hashCode); }
public override int GetHashCode() { if (Id >= 0) { return(Id.GetHashCode()); } unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ Name.GetHashCode(); hashCode = (hashCode * 397) ^ Description.GetHashCode(); hashCode = (hashCode * 397) ^ AuctionID.GetHashCode(); hashCode = (hashCode * 397) ^ OwnerID.GetHashCode(); hashCode = (hashCode * 397) ^ HasCategories.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (OwnerID.Length != 0) { hash ^= OwnerID.GetHashCode(); } if (meta_ != null) { hash ^= Meta.GetHashCode(); } if (verify_ != null) { hash ^= Verify.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (header_ != null) { hash ^= Header.GetHashCode(); } if (OwnerID.Length != 0) { hash ^= OwnerID.GetHashCode(); } if (FirstEpoch != 0UL) { hash ^= FirstEpoch.GetHashCode(); } if (LastEpoch != 0UL) { hash ^= LastEpoch.GetHashCode(); } hash ^= objectID_.GetHashCode(); if (Signature.Length != 0) { hash ^= Signature.GetHashCode(); } if (ID.Length != 0) { hash ^= ID.GetHashCode(); } hash ^= publicKeys_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }