[Mono-bugs] [Bug 79055][Blo] Changed - System.Reflection.MethodInfo' does not contain 'ReturnParameter'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Aug 19 15:53:33 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 peter.dettman at iinet.net.au.

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

--- shadow/79055	2006-08-19 15:38:28.000000000 -0400
+++ shadow/79055.tmp.24394	2006-08-19 15:53:33.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79055
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: XP
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Blocker
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: stephen.gennard at microfocus.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -112,6 +112,25 @@
 
 
 ------- Additional Comments From peter.dettman at iinet.net.au  2006-08-19 15:38 -------
 Created an attachment (id=17475)
 Proposed implementation of ReturnParameter
 
+
+------- Additional Comments From peter.dettman at iinet.net.au  2006-08-19 15:53 -------
+Hi Stephen, please note with existing code you could already get the
+return type of a method through MethodInfo.ReturnType property. Or, if
+you must have a ParameterInfo object, you can get away with...
+    (ParameterInfo) mi.ReturnTypeCustomAttributes
+
+
+A few comments to go along with the patch above;
+
+- Implemented MonoMethod.ReturnParameter and DynamicMethod.ReturnParameter
+
+- MethodInfo.ReturnParameter exception type corrected to
+NotImplementedException
+
+- The patch provides a ParameterInfo.ToString() implementation. The
+string is slightly wrong in some cases due to a problem with
+System.Type.Name property (logged separately as Bug# 79110)
+


More information about the mono-bugs mailing list