[Mono-bugs] [Bug 33186][Wis] New - Should flag a 221 error

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
2 Nov 2002 21:27:50 -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 miguel@ximian.com.

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

--- shadow/33186	Sat Nov  2 16:27:50 2002
+++ shadow/33186.tmp.9914	Sat Nov  2 16:27:50 2002
@@ -0,0 +1,32 @@
+Bug#: 33186
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Should flag a 221 error
+
+The following program should flag a 221:
+
+
+namespace Foo {
+  class System {
+		internal const uint INVALID_MENU_ID = (uint)-1;
+	static void Main() {
+		// Should flagr:
+	//g:\mono\mcs\class\System.Windows.Forms\System.Windows.Forms\Menu.cs(171,42): error CS0221: Constant value '-1' cannot be converted to a 'uint' (use 'unchecked' syntax to override)
+
+
+	}
+  }
+}