23 references to CheckAccess
PresentationFramework (11)
src\Framework\MS\Internal\Navigation\BindStream.cs (2)
69if ((_callbackDispatcher != null) && (_callbackDispatcher.CheckAccess() != true)) 204if ((_callbackDispatcher != null) && (_callbackDispatcher.CheckAccess() != true))
src\Framework\System\Windows\Data\ObjectDataProvider.cs (1)
433Dispatcher.CheckAccess() ? "synchronous" : "asynchronous",
src\Framework\System\Windows\Data\XmlDataProvider.cs (5)
489Dispatcher.CheckAccess() ? "synchronous" : "asynchronous")); 543Dispatcher.CheckAccess() ? "synchronous" : "asynchronous", 576Dispatcher.CheckAccess() ? "synchronous" : "asynchronous", 625Dispatcher.CheckAccess() ? "synchronous" : "asynchronous", 678Dispatcher.CheckAccess() ? "synchronous" : "asynchronous",
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
846if (!dispatcher.CheckAccess())
src\Framework\System\Windows\Standard\Debug.cs (1)
367if (System.Windows.Application.Current.Dispatcher.CheckAccess())
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
162if (_dispatcher.CheckAccess())
WindowsBase (12)
Base\System\Windows\Data\DataSourceProvider.cs (1)
289if (Dispatcher.CheckAccess())
Base\System\Windows\SplashScreen.cs (1)
260if (_dispatcher.CheckAccess())
Base\System\Windows\Threading\Dispatcher.cs (7)
226if(!CheckAccess()) 652if(!cancellationToken.IsCancellationRequested && priority == DispatcherPriority.Send && CheckAccess()) 822if(!cancellationToken.IsCancellationRequested && priority == DispatcherPriority.Send && CheckAccess()) 1405if(CheckAccess()) 1423if(priority == DispatcherPriority.Send && CheckAccess()) 1469Debug.Assert(operation.Priority != DispatcherPriority.Send || !CheckAccess()); // should be handled by caller 2905if(CheckAccess())
Base\System\Windows\Threading\DispatcherObject.cs (1)
93accessAllowed = dispatcher.CheckAccess();
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (1)
61if(BaseCompatibilityPreferences.GetInlineDispatcherSynchronizationContextSend() && _dispatcher.CheckAccess())
Base\System\Windows\Threading\DispatcherTimer.cs (1)
280if (_interval.TotalMilliseconds == 0 && _dispatcher.CheckAccess())