I have an assembly containing a type that implements IEnumerable<int>.
The property TypeDefinition.Interfaces correctly lists this interface.
Now I retrieve the type IEnumerable<T> (or IEnumerable`1) using
GetElementType().

I would have expected that element type to have one generic parameter.
However, the GenericParameters property returns an empty collection.

Is this a bug, or did I misunderstand something?

-- 
--
mono-cecil

Reply via email to