[Mono-bugs] [Bug 79278][Min] Changed - XmlSerializer requires default public constructor on Mono, but not on MS.NET
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Sep 4 13:55:01 EDT 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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79278
--- shadow/79278 2006-09-04 13:32:08.000000000 -0400
+++ shadow/79278.tmp.709 2006-09-04 13:55:01.000000000 -0400
@@ -61,6 +61,16 @@
------- Additional Comments From juraj at hotfeet.ch 2006-09-04 13:32 -------
The case test _does_ have an default constructor, albeit a private
one. So the stated requirement should be satisfied. Doesn't that mean
Mono is at fault here?
+
+------- Additional Comments From atsushi at ximian.com 2006-09-04 13:55 -------
+To my understanding there is no private default constructor.
+
+From ECMA 335 Page 40
+"a public constructor taking no arguments (the default constructor),"
+
+From ECMA 334 Page 128
+"All value types implicitly declare a public parameterless instance
+constructor called the default constructor."
More information about the mono-bugs
mailing list