The code I want to patch is Managed.. But, the profiler is in Native code. On Jun 15, 6:27 pm, Alex <[email protected]> wrote: > Hi, > > Cecil can only manipulate managed bytecode (CIL). Is the code you want > to patch managed or native? > > Regards, > Alex > > 2011/6/15 jasper <[email protected]>:> Hi, > > I am fairly new to Cecil. I have a doubt if this is possible in co- > > ordination with Cecil. I use CLR's profiler API. I need to insert byte > > code in the callback from the profiler API. > > > I had this idea of inserting byte code in the SetILFunctionBody of the > > profilerInfo interface using Cecil. Is it possible? > > > Some high level information of whether it can be achieved would be > > great.. > > > -Jasper > > > -- > > -- > > mono-cecil
-- -- mono-cecil
