[Mono-bugs] [Bug 66777][Nor] New - wrong CS0642 warning

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 24 Sep 2004 05:57:21 -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 marek.safar@seznam.cz.

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

--- shadow/66777	2004-09-24 05:57:21.000000000 -0400
+++ shadow/66777.tmp.30454	2004-09-24 05:57:21.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 66777
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: wrong CS0642 warning
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. compile with /warn:4
+
+public class C
+{
+    public static void Main ()
+    {
+        int p = 0;
+        while (p++ > 100);
+        #if A
+        #endif
+    }
+}
+
+Actual Results:
+
+5.cs(6) warning CS0642: Possible mistaken empty statement
+
+
+Expected Results:
+
+no warning
+
+
+How often does this happen? 
+
+
+Additional Information: