public override int GetHashCode() { unchecked { int hashCode = (StringProperty != null ? StringProperty.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IntProperty; return(hashCode); } }
public override int GetHashCode() { unchecked { int result = _id; result = (result * 397) ^ (StringProperty != null ? StringProperty.GetHashCode() : 0); result = (result * 397) ^ LongProperty.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int hashCode = DateProperty.GetHashCode(); hashCode = (hashCode * 397) ^ DateOffsetProperty.GetHashCode(); hashCode = (hashCode * 397) ^ BoolProperty.GetHashCode(); hashCode = (hashCode * 397) ^ IntProperty; hashCode = (hashCode * 397) ^ StringProperty.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; hash = hash * 17 + IntProperty.GetHashCode(); hash = hash * 31 + StringProperty.GetHashCode(); if (ChildrenProperty != null) { hash = ChildrenProperty.Aggregate(hash, (current, someValueClass) => current * 13 + someValueClass.GetHashCode()); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (StringProperty != null ? StringProperty.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IntProperty; hashCode = (hashCode * 397) ^ BoolProperty.GetHashCode(); hashCode = (hashCode * 397) ^ (ListOfSimpleTypes != null ? ListOfSimpleTypes.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SimpleTypes != null ? SimpleTypes.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (StringProperty.Length != 0) { hash ^= StringProperty.GetHashCode(); } if (IntProperty != 0) { hash ^= IntProperty.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (StringProperty.Length != 0) { hash ^= StringProperty.GetHashCode(); } if (LongProperty != 0L) { hash ^= LongProperty.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }