// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+/*============================================================
+**
+** Class: OpCodes
+**
+** Purpose: Exposes all of the IL instructions supported by the runtime.
+**
+** THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT BY HAND!
+** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
+==============================================================*/
+
namespace System.Reflection.Emit
{
//
((int)StackBehaviour.Popref_popi_pop1 << OpCode.StackBehaviourPopShift) |
((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
(1 << OpCode.SizeShift) |
- (0 << OpCode.StackChangeShift)
+ (-3 << OpCode.StackChangeShift)
);
public static readonly OpCode Unbox_Any = new OpCode(OpCodeValues.Unbox_Any,
$endHeaderComment .= "** See \$(RepoRoot)\\src\\inc\\OpCodeGen.pl for more information.**\n";
$endHeaderComment .= "==============================================================*/\n\n";
-$usingAndRefEmitNmsp = "using System;\n\nnamespace System.Reflection.Emit\n{\n\n";
-$obsoleteAttr = " [Obsolete(\"This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202\")]\n";
+$usingAndRefEmitNmsp = "namespace System.Reflection.Emit\n{\n\n";
+$obsoleteAttr = " [Obsolete(\"This API has been deprecated. https://go.microsoft.com/fwlink/?linkid=14202\")]\n";
# Open source file and target files
{
$popstate = $popstate -2;
}
- elsif ($pop eq "Popi_popi_popi" || $pop eq "Popref_popi_popi" || $pop eq "Popref_popi_popi8" || $pop eq "Popref_popi_popr4" || $pop eq "Popref_popi_popr8" || $pop eq "Popref_popi_popref")
+ elsif ($pop eq "Popi_popi_popi" || $pop eq "Popref_popi_popi" || $pop eq "Popref_popi_popi8" || $pop eq "Popref_popi_popr4" || $pop eq "Popref_popi_popr8" || $pop eq "Popref_popi_popref" || $pop eq "Popref_popi_pop1")
{
$popstate = $popstate -3;
}
print OUTPUT " case OperandType.ShortInlineI:\n";
print OUTPUT " case OperandType.ShortInlineVar:\n";
print OUTPUT " return true;\n";
-print OUTPUT " };\n";
+print OUTPUT " }\n";
print OUTPUT " return false;\n";
print OUTPUT " }\n";