[Mono-bugs] [Bug 82755][Nor] New - mcs generates invalid IL for string concantenation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 8 13:38:31 EDT 2007


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 vargaz at gmail.com.

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

--- shadow/82755	2007-09-08 13:38:31.000000000 -0400
+++ shadow/82755.tmp.17863	2007-09-08 13:38:31.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 82755
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs generates invalid IL for string concantenation
+
+Testcase:
+// mcs -r:System.Data.dll
+using System;
+using System.Data;
+
+    class MainClass
+    {
+        public static void Main(string[] args) {
+			DataTable dt = null;
+			dt.Columns["expr"].Expression+= "" + dt.Columns + "" + dt.Columns;
+		}
+	}
+
+PEVerify reports:
+
+[IL]: Error: [E:\share\bug.exe : MainClass::Main][offset 0x00000020][found
+ref '
+System.Data.DataColumn'] Unexpected type on the stack.


More information about the mono-bugs mailing list