Man,

On 1/11/08, Liviu U <[EMAIL PROTECTED]> wrote:
> There is unfortunately no InterfaceDefinition object!

Come on, you can be more resourceful! If you had a single look at the
InterfaceCollection, you would have seen that it's a collection of
TypeReferences.

So you can simply add an imported type to that collection.

> but how to associate the methods of the interface with methods of the class?

Basically by either their signature (name + return type + parameters),
or by specifying the method of the interface you're implementing in
the .OverrideCollection of the method.

-- 
Jb Evain  <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to