On 11/30/08, Lev Danielyan <[EMAIL PROTECTED]> wrote:
> Sorry, didn't get your point. What is compiler dependent?
The fact that a type definition, in the metadata, has every interface
it implements. Let say in C#, you create a type:
class FooList : IList {}
The C# compiler will add all its intefarces (IList, ICollection,
IEnumerable) to the type definition.
Some compilers don't do that, so you have to walk its hierarchy to
browse all the interfaces the type actually implement.
--
Jb Evain <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---