public static Symbol GetSymbol(string typeName, SymbolProviders.Module module) { Symbol[] symbols; if (deduplicatedSymbols.TryGetValue(typeName, out symbols)) { return(symbols[0]); } return(module.GetSymbol(typeName)); }
public static UserType GetUserType(string typeName, SymbolProviders.Module module) { Symbol symbol = GetSymbol(typeName, module); return(GetUserType(symbol)); }