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

InitObject() public method

Pops a managed or native pointer off the stack and initializes the referenced type with zeros.
public InitObject ( Type type ) : void
type System.Type The type the pointer on the top of the stack is pointing to.
return void
        public override void InitObject(Type type)
        {
            if (type == null)
                throw new ArgumentNullException("type");
            var token = this.GetToken(type);
            Emit2ByteOpCodeInt32(0xFE, 0x15, 1, 0, token);
            PopStackOperands(VESType.NativeInt | VESType.ManagedPointer);
        }
DynamicILGenerator