[Mono-bugs] [Bug 82064][Maj] New - mcs generates "invalid IL" for using statements

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 11 02:28:29 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 atsushi at ximian.com.

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

--- shadow/82064	2007-07-11 02:28:29.000000000 -0400
+++ shadow/82064.tmp.1400	2007-07-11 02:28:29.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 82064
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs generates "invalid IL" for using statements
+
+The resulting binary compiled by mcs or gmcs causes InvalidProgramException
+under .NET.
+
+--------
+using System;
+using System.IO;
+
+namespace XmlnsAttributeSample
+{
+    public class XmlnsAttribTester
+    {
+        static public void Main (string [] args)
+        {
+            using (StringWriter stringWriter = new StringWriter ())
+            {
+            }
+        }
+    }
+}
+
+(Not sure if it is .NET bug or mcs/gmcs bug though.)


More information about the mono-bugs mailing list