On Thu, Jul 7, 2011 at 2:30 PM, Indiefreaks.com
<[email protected]> wrote:
> I may also go down the route of cloning the current method and adding
> it (with a different name) to the current class and then clear the
> current method instructions and surround a call to the cached method
> by my profiling code making sure that I catch the returned value if
> different from "System.Void" to return it back once the original
> method ends...

This is much easier.

Jb

-- 
--
mono-cecil

Reply via email to