[Mono-bugs] [Bug 66242][Nor] New - [PATCH] TypeBuilder does not throw exception when defining default ctor and parent does not have default ctor
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 19 Sep 2004 14:49:32 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=66242
--- shadow/66242 2004-09-19 14:49:32.000000000 -0400
+++ shadow/66242.tmp.11761 2004-09-19 14:49:32.000000000 -0400
@@ -0,0 +1,23 @@
+Bug#: 66242
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] TypeBuilder does not throw exception when defining default ctor and parent does not have default ctor
+
+Currently, S.R.E.TypeBuilder does not a NotSupportedException when create
+a type with a default constructor, while the parent does not have a
+default.
+
+The attached patch corrects this, and adds a test case for it.