} // end ProcessRecord() private bool _IsNotDuplicate(DbgTypeInfo ti) { if (null == m_set) { return(true); } else { return(m_set.Add(ti)); } } // end _IsNotDuplicate()
} // end _GetTypeInfoByName() private void _GetTypeInfoById(uint typeId, DbgModuleInfo module) { if (Raw) { WriteObject(Debugger._GetTypeInfoRaw(module.BaseAddress, typeId)); } else { WriteObject(DbgTypeInfo.GetTypeInfo(Debugger, module, typeId)); } } // end _GetTypeInfoById()
} // end _GetTypeInfoById() private void _GetTypeInfoByAddress(ulong address) { uint typeId = Debugger.GetTypeIdForAddress(address); var mod = Debugger.GetModuleByAddress(address); if (Raw) { WriteObject(Debugger._GetTypeInfoRaw(mod.BaseAddress, typeId)); } else { WriteObject(DbgTypeInfo.GetTypeInfo(Debugger, mod, typeId)); } } // end _GetTypeInfoByAddress()