Hi John,

Thanks for reaching me:

* By mail personally,
* On StackOverflow,
* On mono-cecil.

I check the three of them, so you can just pick one of the last two
for future questions ;) I answered on StackOverflow has it's well
referenced:

http://stackoverflow.com/questions/8102041/how-to-create-an-override-method-using-mono-cecil/

Just a detail:

On Sat, Nov 12, 2011 at 2:16 AM, John Holliday
<[email protected]> wrote:
> I thought that by adding the base method to the newMethod.Overrides,
> that this would give the correct result, but when I examine the
> resulting assembly, the new method has the same signature as the base
> method, but without the 'virtual'.

The .override directive in IL is for methods that have a completely
different name, but still override a method. For instance, explicit
implementation methods. There's no need to add a method there for
implicit overriding.

Best,

Jb

-- 
--
mono-cecil

Reply via email to