GetTypeDefinition() public method

public GetTypeDefinition ( TopLevelTypeName topLevelTypeName ) : ITypeDefinition
topLevelTypeName TopLevelTypeName
return ITypeDefinition
Esempio n. 1
0
 ITypeDefinition INamespace.GetTypeDefinition(string name, int typeParameterCount)
 {
     if (types != null)
     {
         var             key = new FullNameAndTypeParameterCount(fullName, name, typeParameterCount);
         ITypeDefinition typeDef;
         if (types.TryGetValue(key, out typeDef))
         {
             return(typeDef);
         }
         else
         {
             return(null);
         }
     }
     else
     {
         return(assembly.GetTypeDefinition(fullName, name, typeParameterCount));
     }
 }
Esempio n. 2
0
 ITypeDefinition INamespace.GetTypeDefinition(string name, int typeParameterCount)
 {
     return(assembly.GetTypeDefinition(this.fullName, name, typeParameterCount));
 }