Jurassic.Compiler.DynamicILGenerator.LoadArgument C# (CSharp) Метод

LoadArgument() публичный Метод

Pushes the value of the method argument with the given index onto the stack.
public LoadArgument ( int argumentIndex ) : void
argumentIndex int The index of the argument to push onto the stack.
Результат void
        public override void LoadArgument(int argumentIndex)
        {
            if (argumentIndex < 0)
                throw new ArgumentOutOfRangeException("argumentIndex");
            if (argumentIndex < 4)
                Emit1ByteOpCode((byte)(argumentIndex + 2), 0, 1);
            else if (argumentIndex < 256)
                Emit1ByteOpCodeInt8(0x0E, 0, 1, argumentIndex);
            else
                Emit2ByteOpCodeInt16(0xFE, 0x09, 0, 1, argumentIndex);
            PushStackOperand(ToVESType(this.dynamicMethod.GetParameters()[argumentIndex].ParameterType));
        }
DynamicILGenerator