We are working on a Custom Tool / Single File Generator on Visual Studio 2010 / C# (.NET 4).
As part of this, we get a reference to the DTE / DTE80 and ultimately end up with a CodeTypeRef2 for properties.
As an example, the "AsFullName" returns "System.Collections.Generic.List<System.String>" because the property returns a List<string>.
What I am trying to do is get the type information for the generic parameter (preferably another CodeTypeRef(2), that is, System.String. The IsGeneric property tells me that I am dealing with a generic type, however I cannot seem to figure out how to get the details of that generic type.
Any ideas?