Inheritance: CorAppDomainBaseEventArgs
Ejemplo n.º 1
0
		void OnAssemblyLoad (object sender, CorAssemblyEventArgs e)
		{
			OnDebuggerOutput (false, string.Format ("Loaded Module '{0}'\n", e.Assembly.Name));
			e.Continue = true;
		}
Ejemplo n.º 2
0
        private void UnloadAssemblyEventHandler(Object sender, CorAssemblyEventArgs e)
        {
            Trace.WriteLine("ManagedCallback::UnloadAssembly");
            BeginManagedDebugEvent();
            try
            {
                if (InternalHandleRawMode(ManagedCallbackType.OnAssemblyUnload, e))
                    return;

                if (HandleCustomPostCallback(ManagedCallbackType.OnAssemblyUnload, e))
                    return;

                if (m_engine.Options.StopOnAssemblyUnload)
                {
                    e.Continue = false;
                    InternalSignalRuntimeIsStopped(null, new AssemblyUnloadedStopReason());
                }
            }
            finally
            {
                EndManagedDebugEvent(e);
            }
        }