[Mono-bugs] [Bug 74846][Nor] New - Missing enum conversion

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 6 May 2005 05:13:39 -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=74846

--- shadow/74846	2005-05-06 05:13:39.000000000 -0400
+++ shadow/74846.tmp.3800	2005-05-06 05:13:39.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 74846
+Product: Mono: Compilers
+Version: 1.1
+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: Missing enum conversion
+
+Steps to reproduce the problem:
+1. 
+using System;
+
+class C {
+	internal enum Flags {
+		Removed	= 0,
+		Public	= 1
+	}
+
+	static Flags	_enumFlags;
+		
+	public static int Main()
+	{	
+		Console.WriteLine (Flags.Removed | 0);
+		return 0;
+	}
+}
+
+2. compile & run
+
+Actual Results:
+
+0
+
+Expected Results:
+
+Removed