public override int GetHashCode() { int hash = 17; hash = hash * 23 + Item2.GetHashCode(); return(Item1.Aggregate(hash, (current, s) => current * 23 + s.GetHashCode())); }
public override int GetHashCode() { unchecked { var hash = 17; hash = hash * 23 + (Item1 == null ? 0 : Item1.GetHashCode()); hash = hash * 23 + (Item2 == null ? 0 : Item2.GetHashCode()); hash = hash * 23 + (Item3 == null ? 0 : Item3.GetHashCode()); return(hash); } }
public override int GetHashCode() { unchecked { int hash = 233; if (!EqualityComparer <T> .Default.Equals(Item1, default(T))) { hash = hash * 23 + Item1.GetHashCode(); } if (!EqualityComparer <U> .Default.Equals(Item2, default(U))) { hash = hash * 29 + Item2.GetHashCode(); } return(hash); } }
public override int GetHashCode() { int hash = 1; if (ItemSetId != 0UL) { hash ^= ItemSetId.GetHashCode(); } if (Item1 != 0L) { hash ^= Item1.GetHashCode(); } if (Item1Quantity != 0) { hash ^= Item1Quantity.GetHashCode(); } if (Item2 != 0L) { hash ^= Item2.GetHashCode(); } if (Item2Quantity != 0) { hash ^= Item2Quantity.GetHashCode(); } if (Item3 != 0L) { hash ^= Item3.GetHashCode(); } if (Item3Quantity != 0) { hash ^= Item3Quantity.GetHashCode(); } if (Item4 != 0L) { hash ^= Item4.GetHashCode(); } if (Item4Quantity != 0) { hash ^= Item4Quantity.GetHashCode(); } if (Item5 != 0L) { hash ^= Item5.GetHashCode(); } if (Item5Quantity != 0) { hash ^= Item5Quantity.GetHashCode(); } if (Item6 != 0L) { hash ^= Item6.GetHashCode(); } if (Item6Quantity != 0) { hash ^= Item6Quantity.GetHashCode(); } if (Item7 != 0L) { hash ^= Item7.GetHashCode(); } if (Item7Quantity != 0) { hash ^= Item7Quantity.GetHashCode(); } if (Item8 != 0L) { hash ^= Item8.GetHashCode(); } if (Item8Quantity != 0) { hash ^= Item8Quantity.GetHashCode(); } if (Item9 != 0L) { hash ^= Item9.GetHashCode(); } if (Item9Quantity != 0) { hash ^= Item9Quantity.GetHashCode(); } if (Item10 != 0L) { hash ^= Item10.GetHashCode(); } if (Item10Quantity != 0) { hash ^= Item10Quantity.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() => Item1.GetHashCode() ^ Item2.GetHashCode();
public override int GetHashCode() { return(Item2.GetHashCode() + Item1.GetHashCode()); }
/// <summary> /// Hash code override /// </summary> /// <returns></returns> public override int GetHashCode() { return((Item1?.GetHashCode() ?? 0) ^ (Item2?.GetHashCode() ?? 0)); }
public override int GetHashCode() { return(HashCodeCombiner.Combine(Item1.GetHashCode(), Item2.GetHashCode(), Item3.GetHashCode(), Item4.GetHashCode())); }
public override int GetHashCode() { return(Item1.GetHashCode() * 769 + Item2.GetHashCode() * 1543); }
public override int GetHashCode() { return(((Item1 == null) ? 0x14AB32BC : Item1.GetHashCode()) ^ ((Item2 == null) ? 0x65BC32DE : Item2.GetHashCode()) ^ ((Item3 == null) ? 0x2D4C25CF : Item3.GetHashCode())); }