public static BasicType ExtractType(Cci.INamedTypeReference typeref) { var name = TypesExtractor.GetTypeName(typeref); var type = new BasicType(name); return(type); }
private string ParseTypeName(cci.ITypeReference type) { cci.INamedTypeReference namedType = type as cci.INamedTypeReference; if (namedType != null) { return(namedType.Name.Value); } else { return("[?]"); } }