コード例 #1
0
        public override ILValue CreateSZArray(DmdType elementType, long length)
        {
            if (length < 0 || length > int.MaxValue)
            {
                return(null);
            }
            var res = runtime.CreateSZArray(context, frame, elementType, (int)length, cancellationToken);

            return(CreateILValue(res));
        }
コード例 #2
0
        public override ILValue CreateSZArray(DmdType elementType, long length)
        {
            if (length < 0 || length > int.MaxValue)
            {
                return(null);
            }
            var res = runtime.CreateSZArray(evalInfo, elementType, (int)length);

            return(CreateILValue(res));
        }