public static TypeReference ParseType(ModuleDefinition module, string fullname, bool typeDefinitionOnly = false) { if (string.IsNullOrEmpty(fullname)) { return(null); } var parser = new TypeParser(fullname); return(GetTypeReference(module, parser.ParseType(true), typeDefinitionOnly)); }
public TypeReference GetType(string fullName, bool runtimeName) { return(runtimeName ? TypeParser.ParseType(this, fullName, typeDefinitionOnly: true) : GetType(fullName)); }