protected bool Equals(AllTypes other) { return(Id == other.Id && NullableId == other.NullableId && Byte == other.Byte && Short == other.Short && Int == other.Int && Long == other.Long && UShort == other.UShort && UInt == other.UInt && ULong == other.ULong && Float.Equals(other.Float) && Double.Equals(other.Double) && Decimal == other.Decimal && string.Equals(String, other.String) && DateTime.Equals(other.DateTime) && TimeSpan.Equals(other.TimeSpan) && DateTimeOffset.Equals(other.DateTimeOffset) && Guid.Equals(other.Guid) && Bool == other.Bool && Char == other.Char && NullableDateTime.Equals(other.NullableDateTime) && NullableTimeSpan.Equals(other.NullableTimeSpan) && ByteArray.SequenceEqual(other.ByteArray) && CharArray.SequenceEqual(other.CharArray) && IntArray.SequenceEqual(other.IntArray) && LongArray.SequenceEqual(other.LongArray) && StringArray.SequenceEqual(other.StringArray) && StringList.SequenceEqual(other.StringList) && StringMap.SequenceEqual(other.StringMap) && IntStringMap.SequenceEqual(other.IntStringMap) && SubType.Equals(other.SubType) && SubTypes.SequenceEqual(other.SubTypes) && CustomText == other.CustomText && MaxText == other.MaxText && CustomDecimal.Equals(other.CustomDecimal)); }