[Mono-bugs] [Bug 22639] New - Switch statement over a short or a ushort
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
27 Mar 2002 20:20:33 -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 dihlewis@yahoo.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=22639
--- shadow/22639 Wed Mar 27 15:20:33 2002
+++ shadow/22639.tmp.16625 Wed Mar 27 15:20:33 2002
@@ -0,0 +1,31 @@
+Bug#: 22639
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dihlewis@yahoo.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Switch statement over a short or a ushort
+
+class SwitchTest {
+ public static void Main () {
+ ushort x = 5;
+
+ switch (x) {
+ case 1: break;
+ case 5: break;
+ default: break;
+ }
+ }
+}
+
+Arguments of type Int16 and UInt16 are not handled by the switch generator.