[Mono-bugs] [Bug 77796][Nor] New - mcs fails to report CS0030

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 15 16:08:43 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 marek.safar at seznam.cz.

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

--- shadow/77796	2006-03-15 16:08:43.000000000 -0500
+++ shadow/77796.tmp.24477	2006-03-15 16:08:43.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 77796
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs fails to report CS0030
+
+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. 
+
+using System;
+
+public class Blah {
+	struct S {}
+	enum E { Val }
+	
+	public static void Main ()
+	{
+		S s = (S)(Enum)E.Val;
+	}
+}
+
+
+Actual Results:
+
+No error.
+
+Expected Results:
+
+error CS0030: Cannot convert type `System.Enum' to `Blah.S'
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list