[Mono-bugs] [Bug 40881][Nor] Changed - XML serialization of enum caused InvalidCastException
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 25 Jun 2003 19:19:28 -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@ideary.com.
http://bugzilla.ximian.com/show_bug.cgi?id=40881
--- shadow/40881 Thu Jun 5 18:56:56 2003
+++ shadow/40881.tmp.22271 Wed Jun 25 19:19:28 2003
@@ -72,6 +72,11 @@
in <0x00045> 00 System.Xml.Serialization.XmlSerializer:Serialize
(System.Xml.XmlWriter,object,System.Xml.Serialization.XmlSerializerNamespaces)in
<0x0005f> 00 System.Xml.Serialization.XmlSerializer:Serialize
(System.IO.TextWriter,object)
in <0x00077> 00 Tests.XmlSerializerTest:Main ()
+
+------- Additional Comments From lluis@ideary.com 2003-06-25 19:19 -------
+With the current implementation does not crash, but the result is
+not the same as MS.NET. It seems that enums with [Flag] attribute
+are serialized in a special way.