[Mono-bugs] [Bug 59284][Cri] New - MCS emites IL that causes MissingMethoedException on MS Runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 28 May 2004 19:29:58 -0400 (EDT)


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 grompf@sublimeintervention.com.

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

--- shadow/59284	2004-05-28 19:29:58.000000000 -0400
+++ shadow/59284.tmp.23172	2004-05-28 19:29:58.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 59284
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: OSX 10.3.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS emites IL that causes MissingMethoedException on MS Runtime
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+Compiling the following line of code with MCS generates a MissingMethodException trying to run 
+on the MS Framework (v1.1)
+
+Console.WriteLine("{0} {1} {2} {3}", "foo", "foo", "foo", "foo");
+
+Compiling the same line with CSC works on both Mono and MS .Net v1.1
+
+Steps to reproduce the problem:
+1. Compile the attached test case with MCS
+2. Run it on .NET Framework v1.1
+
+Actual Results:
+
+System.MissingMethodException
+
+
+Expected Results:
+
+The like "foo foo foo foo" to print.
+
+How often does this happen? 
+
+Every time.
+
+Additional Information:
+
+It appears that Console.WriteLine("{0} {1} {2}", ...); works, it appears this is only with 4 (maybe 
+more) arguments that this is occuring.