コード例 #1
0
        /// <summary>
        /// Gets the names of fields of the specified type.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeId">The type identifier.</param>
        public string[] GetTypeFieldNames(Module module, uint typeId)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider?.GetTypeFieldNames(module, typeId));
            }
            return(symbolProviderModule.GetTypeFieldNames(typeId));
        }
コード例 #2
0
ファイル: DiaSymbolProvider.cs プロジェクト: d4nnyk/WinDbgCs
        /// <summary>
        /// Gets the names of fields of the specified type.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="typeId">The type identifier.</param>
        public string[] GetTypeFieldNames(Module module, uint typeId)
        {
            ISymbolProviderModule diaModule = GetDiaModule(module);

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