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 [EMAIL PROTECTED]

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

--- shadow/78795        2006-07-08 03:58:40.000000000 -0400
+++ shadow/78795.tmp.23724      2006-07-09 06:06:34.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 78795
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: mono-svn-62359 don't compile ikvm-runtime-cvs-2006-7-8
+Summary: [GMCS] mono-svn-62359 don't compile ikvm-runtime-cvs-2006-7-8
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 Buildfile: file:///home/hys545/ikvm/runtime.org/runtime.build
 Target framework: Mono 2.0 Profile
@@ -48,6 +48,33 @@
 
 
 How often does this happen? 
 
 
 Additional Information:
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-07-09 06:06 -------
+A testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+using System;
+
+class Foo {
+
+       public static void Main () {
+               object method = null;
+
+                       if(method != null
+#if !COMPACT_FRAMEWORK
+                               && !(method is String)
+#endif
+                          ) {
+                       }
+       }
+}
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+mcs compiles this fine, while gmcs reports:
+
+bug.cs(12,1): error CS1028: Unexpected processor directive (no #if for
+this #endif)
+Compilation failed: 1 error(s), 0 warnings
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to