[Mono-bugs] [Bug 80300][Blo] New - #define is visible inside	invisible blocks
    bugzilla-daemon at bugzilla.ximian.com 
    bugzilla-daemon at bugzilla.ximian.com
       
    Mon Dec 18 07:49:18 EST 2006
    
    
  
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 igorz at mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80300
--- shadow/80300	2006-12-18 07:49:18.000000000 -0500
+++ shadow/80300.tmp.8853	2006-12-18 07:49:18.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 80300
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: igorz at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: #define is visible inside invisible blocks
+
+Compile the following block:
+
+#if DEF1
+#define DEF2
+#endif
+
+#if DEF2
+Invisible code;
+#endif
+
+namespace NameSpace
+{
+	class Class1
+	{
+	}
+}
+
+Actual Results:
+error CS8025: Parsing error
+
+Expected Results:
+No error.
    
    
More information about the mono-bugs
mailing list