[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 12:46:27 -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 lupus@ximian.com.

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

--- shadow/52594	2004-05-14 11:28:43.000000000 -0400
+++ shadow/52594.tmp.8337	2004-05-14 12:46:27.000000000 -0400
@@ -66,6 +66,18 @@
 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 :-).
+
+------- Additional Comments From lupus@ximian.com  2004-05-14 12:46 -------
+It's a class that needs to be inherited by the runtime and the
+documentation is most likely automatically generated because the class
+is abstract and has that abstract method (or the documentation was
+written by someone who doesn't know how things work, as is evident in
+large parts of the reflection namespace documentation: note that it
+doesn't say that user code can derive from it and expect any useful
+behaviour by the runtime).
+As Zoltan says the class is not supposed to be inherited by user code.
+Though it would not be very difficult to support the broken usage, it
+wouldn't help anyway with at least the bug referenced which I filed.