Beispiel #1
0
        /// <summary>
        /// Gets the type's direct base classes type and offset.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeId">The type identifier.</param>
        public Dictionary <string, Tuple <uint, int> > GetTypeDirectBaseClasses(Module module, uint typeId)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider?.GetTypeDirectBaseClasses(module, typeId));
            }
            return(symbolProviderModule.GetTypeDirectBaseClasses(typeId));
        }
Beispiel #2
0
        /// <summary>
        /// Gets the type's direct base classes type and offset.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeId">The type identifier.</param>
        public Dictionary <string, Tuple <uint, int> > GetTypeDirectBaseClasses(Module module, uint typeId)
        {
            ISymbolProviderModule diaModule = GetDiaModule(module);

            return(diaModule.GetTypeDirectBaseClasses(module, typeId));
        }