16 references to Thread
PresentationCore (2)
Core\CSharp\System\Windows\Media\HostVisual.cs (2)
148
Debug.Assert(target.Dispatcher.
Thread
== Thread.CurrentThread);
201
Debug.Assert(_target.Dispatcher.
Thread
== Thread.CurrentThread);
PresentationFramework (10)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
407
if (Dispatcher.
Thread
== Thread.CurrentThread)
435
if (Dispatcher.
Thread
== Thread.CurrentThread)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2520
if (Dispatcher.
Thread
== Thread.CurrentThread)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
447
if (Dispatcher.
Thread
== Thread.CurrentThread)
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1528
if (Dispatcher.
Thread
== Thread.CurrentThread)
src\Framework\System\Windows\Documents\TextStore.cs (1)
2300
Invariant.Assert(Thread.CurrentThread == _textservicesHost.Dispatcher.
Thread
, "GrantLock called on bad thread!");
src\Framework\System\Windows\Window.cs (4)
3756
if (Application.Current.Dispatcher.
Thread
== Dispatcher.CurrentDispatcher.
Thread
)
4694
if (Application.Current.Dispatcher.
Thread
== Dispatcher.CurrentDispatcher.
Thread
)
WindowsBase (4)
Base\System\Windows\Threading\Dispatcher.cs (3)
100
if(dispatcher == null || dispatcher.
Thread
!= thread)
120
Thread dispatcherThread = d.
Thread
;
211
return
Thread
== Thread.CurrentThread;
Base\System\Windows\Threading\DispatcherOperation.cs (1)
214
if(_dispatcher.
Thread
== Thread.CurrentThread)