Now that I managed to executed a modified assembly I'm having some issues that I cannot see how to deal with. I have written two methods, one of which I modify with Cecil to obtain the same result as the first one. The resulting IL is exactly the same for the two methods, but when I execute them the first behaves as expected while the one modified with Cecil isn't doing what it is expected to do, in particular it's not executing the additional method calls I injected with Cecil.
On Jan 30, 11:37 am, SimoneB <[email protected]> wrote: > Ok it didn't take much to find it out. > I'm impressed by the kind of things Cecil enables you to do. > > On Jan 29, 3:00 pm, SimoneB <[email protected]> wrote: > > > > > Hi, > > > I'm probably missing something obvious, but I'm trying to execute some > > code after going though it and making some changes like adding > > instructions with Cecil. Is there a common approach to do this? -- -- mono-cecil
