コード例 #1
0
        /// <summary>
        /// Gets the type's built-in type.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeId">The type identifier.</param>
        public BuiltinType GetTypeBuiltinType(Module module, uint typeId)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider.GetTypeBuiltinType(module, typeId));
            }
            return(symbolProviderModule.GetTypeBuiltinType(typeId));
        }