Example #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);
        }
Example #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);
        }