[Mono-dev] [PATCH] Make DateTime binary compatible with .NET
robertj at gmx.net
Fri Nov 6 10:56:02 EST 2009
Jonathan Hseu wrote:
> On Fri, Nov 6, 2009 at 9:18 AM, Robert Jordan <robertj at gmx.net> wrote:
>> Jonathan Hseu wrote:
>>> This new DateTime is binary incompatible (again with BinaryFormatter)
>>> older versions of Mono.
>> That's the reason why the fixes attached to
>> were not accepted.
> Going through the bug logs, it seems like the patch was first applied but
> then later removed because it was still incompatible with .NET's version,
> not because it was incompatible with older versions of mono.
> My patch is completely different than the one in the bug report. Mine
> _only_ affects the DateTime.cs file whereas the one in the bug report
> changed the serialization code. My patch basically introduces the same
> field names and types that are also in .NET so that it is guaranteed to be
Please read the bug carefully.
Here is the DateTime.cs patch:
Then search for "DateTimeISerializable.diff" at
and read the comments.
More information about the Mono-devel-list