2008-06-06 Jb Evain <jbevain@novell.com>
authorJb Evain <jbevain@gmail.com>
Fri, 6 Jun 2008 10:47:24 +0000 (10:47 -0000)
committerJb Evain <jbevain@gmail.com>
Fri, 6 Jun 2008 10:47:24 +0000 (10:47 -0000)
* OpCodes.cs: OpCode constrained. is of type InlineType.

svn path=/trunk/mcs/; revision=105147

mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/OpCodes.cs

index df3f5355218e919ef4a27d0bdeddf887641d2b38..8c135709784035d51affcc2433b2df07b972c1bb 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-06  Jb Evain  <jbevain@novell.com>
+
+       * OpCodes.cs: OpCode constrained. is of type InlineType.
+
 2008-05-18  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * TypeBuilder.cs (IsAssignableTo): When an interface is passed as
index cfd6fb617dfb2f5c293999f490989afaad702f5e..24962fdf0079e3b5b596866e586eded47ce2d4df 100644 (file)
@@ -895,7 +895,7 @@ namespace System.Reflection.Emit {
 #if NET_2_0 || BOOTSTRAP_NET_2_0
                public static readonly OpCode Constrained = new OpCode (
                        0xFE << 0 | 0x16 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Pop0 << 24,
-                       2 << 0 | (byte) OpCodeType.Prefix << 8 | (byte) OperandType.InlineTok << 16 | (byte) FlowControl.Next << 24);
+                       2 << 0 | (byte) OpCodeType.Prefix << 8 | (byte) OperandType.InlineType << 16 | (byte) FlowControl.Next << 24);
 #endif
                public static readonly OpCode Cpblk = new OpCode (
                        0xFE << 0 | 0x17 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Popi_popi_popi << 24,