[Mono-bugs] [Bug 77530][Nor] Changed - [PATCH] serialization of integral enum value is not correct

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Feb 18 09:20:37 EST 2006


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 gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=77530

--- shadow/77530	2006-02-18 08:54:33.000000000 -0500
+++ shadow/77530.tmp.17598	2006-02-18 09:20:37.000000000 -0500
@@ -170,6 +170,15 @@
 
 => Deserialization of an empty element to (flags) enum (eg. 
 <EnumDefaultValue />). There are a few tests for this in 
 DeserializeTests.cs
 
 
+
+------- Additional Comments From gert.driesen at pandora.be  2006-02-18 09:20 -------
+Forgot to comment on your first remark:
+
+We can indeed skip the call to XmlCustomFormatter.FromEnum as an 
+optimization. I modified this in my new patch.
+
+Let me know if you want me to change EnumMap to lazy init the arrays 
+instead.


More information about the mono-bugs mailing list