[Mono-bugs] [Bug 49878][Wis] Changed - XML serialization crashes on IEnumerable & ICollection
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Oct 2003 14:33:41 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lluis@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=49878
--- shadow/49878 2003-10-20 13:05:23.000000000 -0400
+++ shadow/49878.tmp.30373 2003-10-20 14:33:41.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 49878
Product: Mono/Class Libraries
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Wishlist
Component: System.XML
AssignedTo: mono-bugs@ximian.com
ReportedBy: orphennui@yahoo.com
QAContact: mono-bugs@ximian.com
@@ -53,6 +53,16 @@
XmlSerializer ser = new XmlSerializer (typeof (Foo));
ser.Serialize (System.Console.Out, foo);
}
}
+
+------- Additional Comments From lluis@ximian.com 2003-10-20 14:33 -------
+This class can't be serialized because it has a member which is an
+interface, and interfaces can't be sarialized on its own (although you
+can serialize classes that implement interfaces)
+
+In any case, I fixed XmlSerializer so it now gives a more informative
+error message.
+
+Thanks for the bug report!