2 instantiations of WindowsFormsSynchronizationContext
System.Windows.Forms (2)
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (2)
93
=> new
WindowsFormsSynchronizationContext
(_controlToSendTo, DestinationThread);
147
AsyncOperationManager.SynchronizationContext = new
WindowsFormsSynchronizationContext
();
18 references to WindowsFormsSynchronizationContext
System.Windows.Forms (18)
System\Windows\Forms\Application.MarshallingControl.cs (1)
11
/// This class allows us to handle sends/posts in our <see cref="
WindowsFormsSynchronizationContext
"/>
System\Windows\Forms\Application.ThreadContext.cs (2)
783
WindowsFormsSynchronizationContext
.InstallIfNeeded();
815
WindowsFormsSynchronizationContext
.Uninstall(turnOffAutoInstall: false);
System\Windows\Forms\Control.cs (2)
401
WindowsFormsSynchronizationContext
.InstallIfNeeded();
6331
WindowsFormsSynchronizationContext
.InstallIfNeeded();
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
404
WindowsFormsSynchronizationContext
.InstallIfNeeded();
System\Windows\Forms\Form.cs (8)
5600
/// <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5653
/// <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5680
WindowsFormsSynchronizationContext
.InstallIfNeeded();
5907
/// <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5919
/// <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5947
/// <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5959
/// no <see cref="
WindowsFormsSynchronizationContext
"/> could be retrieved or installed.
5980
WindowsFormsSynchronizationContext
.InstallIfNeeded();
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (4)
96
/// Gets or sets a value indicating whether the <see cref="
WindowsFormsSynchronizationContext
"/> is installed when
100
/// <see langword="true"/> if the <see cref="
WindowsFormsSynchronizationContext
"/> is installed; otherwise,
105
/// The <see cref="AutoInstall"/> property determines whether the <see cref="
WindowsFormsSynchronizationContext
"/>
160
if (AutoInstall && AsyncOperationManager.SynchronizationContext is
WindowsFormsSynchronizationContext
)