23 references to Current
mscorlib (4)
system\threading\CancellationToken.cs (1)
346
capturedSyncContext = SynchronizationContext.
Current
;
system\threading\Tasks\TaskScheduler.cs (3)
388
/// determined by <see cref="System.Threading.SynchronizationContext.
Current
">SynchronizationContext.Current</see>.
646
SynchronizationContext synContext = SynchronizationContext.
Current
;
681
if (SynchronizationContext.
Current
== m_synchronizationContext)
System (2)
compmod\system\componentmodel\AsyncOperationManager.cs (2)
24
if (SynchronizationContext.
Current
== null) {
28
return SynchronizationContext.
Current
;
System.Activities (2)
System\Activities\AsyncInvokeContext.cs (1)
16
SynchronizationContext syncContext = SynchronizationContext.
Current
?? WorkflowApplication.SynchronousSynchronizationContext.Value;
System\Activities\WorkflowInvoker.cs (1)
407
IAsyncResult result = WorkflowApplication.BeginInvoke(this.workflow, inputs, this.extensions, timeout, SynchronizationContext.
Current
, context, invokeCallback, context);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\ThreadBehavior.cs (1)
144
return SynchronizationContext.
Current
;
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (1)
325
SynchronizationContext originalSynchronizationContext = SynchronizationContext.
Current
;
System.Web (1)
UI\Page.cs (1)
5238
AspNetSynchronizationContext syncContext = SynchronizationContext.
Current
as AspNetSynchronizationContext;
System.Windows.Forms (6)
winforms\Managed\System\WinForms\AxHost.cs (2)
3811
SynchronizationContext context = SynchronizationContext.
Current
;
3900
SynchronizationContext context = SynchronizationContext.
Current
;
winforms\Managed\System\WinForms\Control.cs (3)
7398
if (SynchronizationContext.
Current
== null) {
7402
tme.syncContext = SynchronizationContext.
Current
;
7418
SynchronizationContext oldContext = SynchronizationContext.
Current
;
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (1)
127
if (SynchronizationContext.
Current
== null) {
WindowsBase (6)
Base\System\Windows\Threading\Dispatcher.cs (4)
654
SynchronizationContext oldSynchronizationContext = SynchronizationContext.
Current
;
824
SynchronizationContext oldSynchronizationContext = SynchronizationContext.
Current
;
1425
SynchronizationContext oldSynchronizationContext = SynchronizationContext.
Current
;
2319
oldSyncContext = SynchronizationContext.
Current
;
Base\System\Windows\Threading\DispatcherOperation.cs (1)
537
SynchronizationContext oldSynchronizationContext = SynchronizationContext.
Current
;
Shared\MS\Internal\ReaderWriterLockWrapper.cs (1)
170
SynchronizationContext oldSynchronizationContext = SynchronizationContext.
Current
;