OK, I see what you mean.
Well, in my case, I think, ICollection and IEnumerable will be detected via
for example analysis of implemented methods,
even if the compiler doesn't add those to the metadata lists.

Lev

On Sun, Nov 30, 2008 at 2:05 PM, Jb Evain <[EMAIL PROTECTED]> wrote:

>
> 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]>
>
> >
>


-- 
Best Regards,
Lev Danielyan

Phone (cell.): +374 93 975557
Phone (work): +374 10 591829
Phone (home): +374 10 566701
http://www.linkedin.com/in/levdanielyan

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

Reply via email to