Jurassic.Compiler.DynamicILGenerator.NewArray C# (CSharp) 메소드

NewArray() 공개 메소드

Pops the size of the array off the stack and pushes a new array of the given type onto the stack.
public NewArray ( Type type ) : void
type System.Type The element type.
리턴 void
        public override void NewArray(Type type)
        {
            if (type == null)
                throw new ArgumentNullException("type");
            var token = this.GetToken(type);
            Emit1ByteOpCodeInt32(0x8D, 1, 1, token);
            PopStackOperands(VESType.Int32);
            PushStackOperand(VESType.Object);
        }
DynamicILGenerator