[Mono-bugs] [Bug 78522][Nor] New - [PATCH] SRE MethodBase.GetMethodBody should not throw ArgumentException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 28 11:16:37 EDT 2006


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 at pandora.be.

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

--- shadow/78522	2006-05-28 11:16:37.000000000 -0400
+++ shadow/78522.tmp.17834	2006-05-28 11:16:37.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 78522
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] SRE MethodBase.GetMethodBody should not throw ArgumentException
+
+SRE's MethodBase.GetMethodBody(IntPtr) should not throw an 
+ArgumentException for methods that have no IL body. Instead, it should 
+just return null. This matches the behaviour of MS.NET.
+
+The attached fixes this issue and corrects the unit tests to pass on both 
+Mono and MS.NET.


More information about the mono-bugs mailing list