[Mono-bugs] [Bug 61689][Wis] Changed - Can construct abstract class through reflection.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 22 Jul 2004 17:35: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 echeslack@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61689
--- shadow/61689 2004-07-17 14:22:12.000000000 -0400
+++ shadow/61689.tmp.10657 2004-07-22 17:35:32.000000000 -0400
@@ -81,6 +81,11 @@
Additional Information:
MSDN says that Invoke should throw an exception if you try to construct
an abstract class. Mono crashes, but only at the actual method call.
Here is the msdn doc:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionConstructorInfoClassInvokeTopic2.asp
+
+------- Additional Comments From echeslack@gmail.com 2004-07-22 17:35 -------
+Created an attachment (id=8681)
+patch to add an exception to ConstructorInfo.Invoke()
+