[Mono-bugs] [Bug 56460][Wis] New - CS1040: Preprocessor directives must appear as the first non ws char

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 12:58:59 -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 bmaurer@users.sf.net.

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

--- shadow/56460	2004-04-04 12:58:59.000000000 -0400
+++ shadow/56460.tmp.28427	2004-04-04 12:58:59.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 56460
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS1040: Preprocessor directives must appear as the first non ws char
+
+We compile:
+/* hey */ #define a
+
+public class A {
+   static void Main ()
+   {
+   }
+}
+
+C:\Inetpub\ftproot>csc t.cs
+t.cs(1,11): error CS1040: Preprocessor directives must appear as the first
+        non-whitespace character on a line