public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ (NullableId != null ? NullableId.Value : 0); hashCode = (hashCode * 397) ^ (IntEnumerable != null ? IntEnumerable.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IntEnumerableSet != null ? IntEnumerableSet.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (NullableIntEnumerable != null ? NullableIntEnumerable.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (NullableIntList != null ? NullableIntList.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IntReadOnlyList != null ? IntReadOnlyList.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IntIList != null ? IntIList.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IntList != null ? IntList.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ID.GetHashCode(); hashCode = (hashCode * 397) ^ (StringDefault != null ? StringDefault.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (String != null ? String.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Int; hashCode = (hashCode * 397) ^ Long.GetHashCode(); hashCode = (hashCode * 397) ^ Bool.GetHashCode(); hashCode = (hashCode * 397) ^ Float.GetHashCode(); hashCode = (hashCode * 397) ^ Double.GetHashCode(); hashCode = (hashCode * 397) ^ (IntArray != null ? IntArray.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (IntIList != null ? IntIList.GetHashCode() : 0); return(hashCode); } }