[Mono-bugs] [Bug 52594][Wis] Changed - cant call custom MethodInfo with Sys.Ref.Emit

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 May 2004 11:28:43 -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 bmaurer@users.sf.net.


--- shadow/52594	2004-05-14 10:13:31.000000000 -0400
+++ shadow/52594.tmp.7533	2004-05-14 11:28:43.000000000 -0400
@@ -58,6 +58,14 @@
 But they'd be nice to have.
 ------- Additional Comments From vargaz@freemail.hu  2004-05-14 10:13 -------
 I don't think subclassing MethodInfo is an acceptable use of the
 reflection API. If this works in MS.NET, it is probably by accident,
 not by design. So this is probably a WONTFIX.
+------- Additional Comments From bmaurer@users.sf.net  2004-05-14 11:28 -------
+I don't think so. ON the msdn docs, it says:
+Notes to Inheritors:  When you inherit from MethodInfo, you must 
+override GetBaseDefinition.
+That seems to imply that one would want to inherit from the class :-).