[Mono-bugs] [Bug 49328][Nor] New - Implementation of OpCode.Value for two bytes instruction

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 4 Oct 2003 07:12:55 -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 celebyon@celebxp.net.

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

--- shadow/49328	2003-10-04 07:12:55.000000000 -0400
+++ shadow/49328.tmp.7571	2003-10-04 07:12:55.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 49328
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: celebyon@celebxp.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Implementation of OpCode.Value for two bytes instruction
+
+Here is Mono the current implementation of OpCode.Value for 2 bytes
+instruction :
+
+return (short) ((op1 << 2) | op2);
+
+while Rotor and .Net 1.1 do :
+
+return (short) ((op1 << 8) | op2);
+
+It causes some troubles while working on opcodes.