[Mono-bugs] [Bug 76878][Nor] New - [PATCH] System.Type.DeclaringMethod has wrong return type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 2 02:18:30 EST 2005


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 alp at atoker.com.

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

--- shadow/76878	2005-12-02 02:18:30.000000000 -0500
+++ shadow/76878.tmp.5798	2005-12-02 02:18:30.000000000 -0500
@@ -0,0 +1,29 @@
+Bug#: 76878
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: alp at atoker.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] System.Type.DeclaringMethod has wrong return type
+
+The 2.0 System.Type.DeclaringMethod property should have the signature:
+
+public virtual MethodBase DeclaringMethod { get; }
+
+Right now, it still has this left over from pre-2.0 betas:
+
+public virtual MethodInfo DeclaringMethod { get; }
+
+A preliminary patch is attached, but it's possible that more changes might
+be necessary in places like the icall definition. At least the gmcs tests
+still seem to pass with this applied.


More information about the mono-bugs mailing list