[Mono-bugs] [Bug 71498][Wis] New - msc fails to report CS0029 error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 19 Jan 2005 18:59:12 -0500 (EST)


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 peter@novonyx.com.

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

--- shadow/71498	2005-01-19 18:59:12.000000000 -0500
+++ shadow/71498.tmp.6179	2005-01-19 18:59:12.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 71498
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peter@novonyx.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: msc fails to report CS0029 error
+
+The code below fails on csc with this error:
+error CS0029: Cannot implicitly convert type 'long' to 'uint'
+but successfully compiles on msc.
+
+namespace MWFTestApplication {
+	class MainWindow {
+		public enum Testme : uint {
+			value	= (1L << 1)
+		}
+
+		static void Main() {
+		}
+	}
+}