예제 #1
0
        public static Symbol GetSymbol(string typeName, SymbolProviders.Module module)
        {
            Symbol[] symbols;

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

            return(GetUserType(symbol));
        }