11 references to ThreadExit
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (1)
730ApplicationContext!.ThreadExit += OnAppThreadExit;
System\Windows\Forms\ApplicationContext.cs (1)
126protected virtual void ExitThreadCore() => ThreadExit?.Invoke(this, EventArgs.Empty);
System.Windows.Forms.Tests (9)
System\Windows\Forms\ApplicationContextTests.cs (9)
77context.ThreadExit += handler; 106context.ThreadExit += handler; 140context.ThreadExit += handler; 296context.ThreadExit += handler; 307context.ThreadExit -= handler; 335context.ThreadExit += handler; 346context.ThreadExit -= handler; 369context.ThreadExit += handler; 380context.ThreadExit -= handler;