[Mono-bugs] [Bug 27512][Nor] New - grammar issue with using directives.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Jul 2002 14:25:57 -0000


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

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

--- shadow/27512	Mon Jul  8 10:25:57 2002
+++ shadow/27512.tmp.15272	Mon Jul  8 10:25:57 2002
@@ -0,0 +1,28 @@
+Bug#: 27512
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: grammar issue with using directives.
+
+mcs compiles the following program, but it should complain as csc does:
+== cut cut
+class T {
+        static void Main() {}
+}
+using System;
+== cut cut
+csc error message:
+namespace-gramamr-bug.cs(4,1): error CS1529: A using clause must precede
+all other namespace elements