Ejemplo n.º 1
0
        internal void AppDomainExited(ICorDebugAppDomain comAppDomain)
        {
            var appDomain = appDomains.TryGet(comAppDomain);

            if (appDomain == null)
            {
                return;
            }
            appDomain.SetHasExited();
            appDomains.Remove(comAppDomain);
        }
Ejemplo n.º 2
0
        internal void AssemblyUnloaded(ICorDebugAssembly comAssembly)
        {
            var assembly = assemblies.TryGet(comAssembly);

            if (assembly == null)
            {
                return;
            }
            assembly.SetHasUnloaded();
            assemblies.Remove(comAssembly);
        }
Ejemplo n.º 3
0
        internal void ModuleUnloaded(ICorDebugModule comModule)
        {
            var module = modules.TryGet(comModule);

            if (module == null)
            {
                return;
            }
            module.SetHasUnloaded();
            modules.Remove(comModule);
        }
Ejemplo n.º 4
0
        internal void ThreadExited(ICorDebugThread comThread)
        {
            var thread = threads.TryGet(comThread);

            // Sometimes we don't get a CreateThread message
            if (thread == null)
            {
                return;
            }
            thread.SetHasExited();
            threads.Remove(comThread);
        }
Ejemplo n.º 5
0
        internal DnThread?ThreadExited(ICorDebugThread?comThread)
        {
            var thread = threads.TryGet(comThread);

            // Sometimes we don't get a CreateThread message
            if (thread is not null)
            {
                thread.SetHasExited();
                threads.Remove(comThread);
            }
            return(thread);
        }
Ejemplo n.º 6
0
 internal void ModuleUnloaded(DnModule module)
 {
     module.SetHasUnloaded();
     modules.Remove(module.CorModule.RawObject);
 }