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