Jurassic.Compiler.DynamicILGenerator.LoadToken C# (CSharp) Method

LoadToken() public method

Pushes a RuntimeMethodHandle corresponding to the given method onto the evaluation stack.
public LoadToken ( System method ) : void
method System The method to convert to a RuntimeMethodHandle.
return void
        public override void LoadToken(System.Reflection.MethodBase method)
        {
            if (method == null)
                throw new ArgumentNullException("method");
            var token = this.GetToken(method);
            Emit1ByteOpCodeInt32(0xD0, 0, 1, token);
            PushStackOperand(VESType.ManagedPointer);
        }

Same methods

DynamicILGenerator::LoadToken ( Type type ) : void
DynamicILGenerator