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

LoadToken() public method

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

Same methods

DynamicILGenerator::LoadToken ( System method ) : void
DynamicILGenerator