Hi, On Thu, May 12, 2011 at 3:52 PM, Usman Bhatti <[email protected]> wrote: > I am still novice as far as generics are concerned, so I have two > questions: Why is the type appearing with a trailing /? Why is the namespace > field empty? > thanx in advance,
This type is a nested type. Its name is Enumerator, and its DeclaringType is List`1. In the metadata, a nested type doesn't have namespace. Its root declaring type has one though. So in Cecil and in the IL language, / is the nested type separator. This is not specific to generics. Jb -- -- mono-cecil
