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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
