/// <summary> /// Gets the code type tag of the specified type. /// </summary> /// <param name="typeId">The type identifier.</param> public CodeTypeTag GetTypeTag(uint typeId) { using (ProcessSwitcher switcher = new ProcessSwitcher(DbgEngDll.StateCache, Module.Process)) { SymTagEnum symTag = DbgEngSymbolProvider.typedData[Tuple.Create(Module.Address, typeId, Module.Process.PebAddress)].Tag; return(symTag.ToCodeTypeTag()); } }
/// <summary> /// Gets the code type tag of the specified type. /// </summary> /// <param name="typeId">The type identifier.</param> public CodeTypeTag GetTypeTag(uint typeId) { SymTagEnum symTag = GetTypeFromId(typeId).symTag; return(symTag.ToCodeTypeTag()); }