[Mono-bugs] [Bug 48761][Nor] New - Switch using an enumaration based on long leads to Invalid IL Code error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Sep 2003 09:22:19 -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 dominic_ullmann@hispeed.ch.

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

--- shadow/48761	2003-09-23 09:22:19.000000000 -0400
+++ shadow/48761.tmp.13377	2003-09-23 09:22:19.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 48761
+Product: Mono/MCS
+Version: unspecified
+OS: SuSE 8.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dominic_ullmann@hispeed.ch               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Switch using an enumaration based on long leads to Invalid IL Code error
+
+Description of Problem:
+When using a long based enumeration as switch argument, the runtime 
+reports an invalid IL error.
+
+Steps to reproduce the problem:
+1. run the attachted example
+
+Actual Results:
+** ERROR **: invalid IL code at ... in ... switch ( ... )
+
+Expected Results:
+no error