https://bugzilla.novell.com/show_bug.cgi?id=676454
https://bugzilla.novell.com/show_bug.cgi?id=676454#c2 Atsushi Enomoto <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Atsushi Enomoto <[email protected]> 2011-03-07 07:50:29 UTC --- Fixed in git master (94c253c) and mono-2-10 (c6fb9f9). For future reference, here is what I wrote for a repro for this kind of serialization bug (instead of a set of moonlight project files that involves bunch of extraneous stuff): using System; using System.IO; using System.Runtime.Serialization; using System.Xml; using System.Xml.Serialization; public class Test { public static void Main () { var ds = new DataContractSerializer (typeof (DateTimeOffset)); var sw = new StringWriter (); using (var xw = XmlWriter.Create (sw)) { ds.WriteObject (xw, DateTimeOffset.Now); } Console.WriteLine (sw); Console.WriteLine (ds.ReadObject (XmlReader.Create (new StringReader (sw.ToString ())))); } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
