示例#1
0
        internal void AddLocal(Func<MethodInfo> item)
        {
            var local = new AddLocalAction(bundle, () => item().ReturnType);

            locals.Add(new Local { Entry = item, Index = LocalCount });
            actions.Add(local);
        }
示例#2
0
        internal void AddLocal(Func<Type> item)
        {
            var local = new AddLocalAction(bundle, item);

            locals.Add(new Local { Entry = item, Index = LocalCount });
            actions.Add(local);
        }