[Mono-bugs] [Bug 76541][Min] New - MethodInfo.ToString() does not include "ByRef"

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 24 14:26:25 EDT 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 atsushi at ximian.com.

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

--- shadow/76541	2005-10-24 14:26:25.000000000 -0400
+++ shadow/76541.tmp.26888	2005-10-24 14:26:25.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 76541
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MethodInfo.ToString() does not include "ByRef"
+
+Our MethodInfo, actually MonoMethod, does not include "ByRef" for byref
+parameters in its .ToString() result.
+
+public class Test
+{
+        public void HeyHey (out string out1, ref string ref1) { out1 = null; }
+        public static void Main ()
+        {
+                System.Console.WriteLine (typeof (Test).GetMethod ("HeyHey"));
+        }
+}
+
+
+Actual Results:
+
+Void HeyHey(System.String, System.String)
+
+Expected Results:
+
+Void HeyHey(System.String ByRef, System.String ByRef)
+
+How often does this happen? 
+
+consistently.
+
+Additional Information:
+
+A patch is attached.


More information about the mono-bugs mailing list