20 references to SetSynchronizationContext
System (2)
compmod\system\componentmodel\AsyncOperationManager.cs (2)
25
SynchronizationContext.
SetSynchronizationContext
(new SynchronizationContext());
42
SynchronizationContext.
SetSynchronizationContext
(value);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerFlooder.cs (2)
143
SynchronizationContext.
SetSynchronizationContext
(null);
155
SynchronizationContext.
SetSynchronizationContext
(syncContext);
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (2)
328
SynchronizationContext.
SetSynchronizationContext
(null);
349
SynchronizationContext.
SetSynchronizationContext
(originalSynchronizationContext);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Control.cs (2)
7421
SynchronizationContext.
SetSynchronizationContext
(tme.syncContext);
7426
SynchronizationContext.
SetSynchronizationContext
(oldContext);
WindowsBase (12)
Base\System\Windows\Threading\Dispatcher.cs (8)
674
SynchronizationContext.
SetSynchronizationContext
(newSynchronizationContext);
681
SynchronizationContext.
SetSynchronizationContext
(oldSynchronizationContext);
844
SynchronizationContext.
SetSynchronizationContext
(newSynchronizationContext);
850
SynchronizationContext.
SetSynchronizationContext
(oldSynchronizationContext);
1445
SynchronizationContext.
SetSynchronizationContext
(newSynchronizationContext);
1451
SynchronizationContext.
SetSynchronizationContext
(oldSynchronizationContext);
2321
SynchronizationContext.
SetSynchronizationContext
(newSyncContext);
2346
SynchronizationContext.
SetSynchronizationContext
(oldSyncContext);
Base\System\Windows\Threading\DispatcherOperation.cs (2)
560
SynchronizationContext.
SetSynchronizationContext
(newSynchronizationContext);
590
SynchronizationContext.
SetSynchronizationContext
(oldSynchronizationContext);
Shared\MS\Internal\ReaderWriterLockWrapper.cs (2)
185
SynchronizationContext.
SetSynchronizationContext
(nonPumpingSynchronizationContext);
193
SynchronizationContext.
SetSynchronizationContext
(oldSynchronizationContext);