2008-09-07 Andy Hume <andyhume32@yahoo.co.uk>
authorMiguel de Icaza <miguel@gnome.org>
Mon, 8 Sep 2008 02:04:00 +0000 (02:04 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 8 Sep 2008 02:04:00 +0000 (02:04 -0000)
commit0735cd1647466566f1780a05a4be38331c115bb8
treef4c5917c7e1a92553729fcdd98d4053bce2cdc16
parent4b77520058ddcab8aa08c16b5203a9f19966c5a6
2008-09-07 Andy Hume <andyhume32@yahoo.co.uk>

* DateTimeOffset.cs: DateTimeOffset currently has no
deserialization constructor, thus deserialization
fails ("SerializationException: The constructor to deserialize an
object of type System.DateTimeOffset was not found.")

Patch attached, implements GetObjectData and that constructor.
Also includes tests, which include round-tripping to/from MSFT.

svn path=/trunk/mcs/; revision=112483
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/DateTimeOffset.cs
mcs/class/corlib/Test/System/DateTimeOffsetTest.cs