Bugzilla – Bug 317899
[PATCH] Missing enum conversion
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by marek.safar@seznam.cz 2005-05-06 05:13:39 MST ---- 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 ---- Additional Comments From atsushi@ximian.com 2005-08-30 07:56:07 MST ---- Created an attachment (id=167858) proposed fix ---- Additional Comments From miguel@ximian.com 2005-09-05 10:49:35 MST ---- This patch can go into mcs. Please provide a test case in mcs/tests as well ---- Additional Comments From atsushi@ximian.com 2005-09-05 13:46:56 MST ---- Fixed in svn (r49487). Imported an attachment (id=167858) Unknown operating system unknown. Setting to default OS "Other".