Public Class c1(Of T)
End Class
Public Class c2 Inherits c1(Of Integer) End Class
For the following peice of code, if we try to get the CodeClass.Base.Fullname, it gives the fullname as "c1(Of T)". Ideally it should give the fullname of the instance i.e. "c1(Of Integer)". The CodeModel API behaves differently for VB and C# codes. If we have following C# code
public class Class1<T>
{
}
public class Class2 : Class1<int>
{
}
the same API returns "Class1" as FullName. Is this a defect in the CodeModel API? Is there any other way of getting the FullName for the Base Types which gives the actual type param information? Is there any other way using CodeModel to get the generic parameter information?