예제 #1
0
        public static BasicType ExtractType(Cci.INamedTypeReference typeref)
        {
            var name = TypesExtractor.GetTypeName(typeref);
            var type = new BasicType(name);

            return(type);
        }
예제 #2
0
 private string ParseTypeName(cci.ITypeReference type)
 {
     cci.INamedTypeReference namedType = type as cci.INamedTypeReference;
     if (namedType != null)
     {
         return(namedType.Name.Value);
     }
     else
     {
         return("[?]");
     }
 }