[Mono-bugs] [Bug 52154][Nor] Changed - text.Chars is accepted by mcs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 14 Dec 2003 09:23:46 -0500 (EST)


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 rodo@ximian.com.

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

--- shadow/52154	2003-12-14 09:22:13.000000000 -0500
+++ shadow/52154.tmp.18166	2003-12-14 09:23:46.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono/Compilers
 Version: unspecified
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -30,6 +30,28 @@
                         len += text [chars] == ' ' ? 1 : tabChars;
                         chars ++;
                 }
         }
 	static void Main () {}
 }
+
+------- Additional Comments From rodo@ximian.com  2003-12-14 09:23 -------
+simple standalone test case:
+
+class A
+{
+	static void B (string c, ref int d, ref int e)
+	{
+		System.Console.WriteLine ("{0}", c.Chars);
+	}
+
+	public static int Main (string[] args)
+	{
+		int f = 0;
+		int g = 0;
+
+		B ("lalala", ref f, ref g);
+
+		return 0;
+	}
+}
+