public static MethodInfo Compile_Ldloc_0() { var method = new ILMethod(nameof(ILOpCodeValues.Ldloc_0), typeof(int)); method.AddLocals(typeof(int)); method.AddInstructions( ILInstruction.Create(OpCodes.Ldc_I4_1), ILInstruction.Create(OpCodes.Stloc_0), ILInstruction.Create(OpCodes.Ldloc_0), ILInstruction.Ret); return(method.Compile()); }