Example #1
0
        /// <summary>
        /// Gets the type identifier.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeName">Name of the type.</param>
        public uint GetTypeId(Module module, string typeName)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider.GetTypeId(module, typeName));
            }
            return(symbolProviderModule.GetTypeId(typeName));
        }
Example #2
0
        /// <summary>
        /// Gets the type identifier.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeName">Name of the type.</param>
        public uint GetTypeId(Module module, string typeName)
        {
            ISymbolProviderModule diaModule = GetDiaModule(module);

            return(diaModule.GetTypeId(module, typeName));
        }