8 overrides of CheckAccess
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContextDispatcher.cs (1)
19public override bool CheckAccess() => SynchronizationContext.Current == _context;
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\NullDispatcher.cs (1)
14public override bool CheckAccess() => true;
Rendering\WebAssemblyDispatcher.cs (1)
16public override bool CheckAccess() => _mainManagedThreadId == Environment.CurrentManagedThreadId;
Microsoft.AspNetCore.Components.WebView.Maui (1)
MauiDispatcher.cs (1)
16 public override bool CheckAccess()
Microsoft.AspNetCore.Components.WebView.Photino (1)
PhotinoDispatcher.cs (1)
21public override bool CheckAccess() => SynchronizationContext.Current == _context;
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
WindowsFormsDispatcher.cs (1)
38 public override bool CheckAccess()
Microsoft.AspNetCore.Components.WebView.Wpf (1)
WpfDispatcher.cs (1)
23 public override bool CheckAccess()
Wasm.Performance.ConsoleHost (1)
NullDispatcher.cs (1)
12public override bool CheckAccess()
4 references to CheckAccess
Microsoft.AspNetCore.Components (2)
Dispatcher.cs (1)
38if (!CheckAccess())
RenderTree\Renderer.cs (1)
1144if (!Dispatcher.CheckAccess())
Microsoft.AspNetCore.Components.Tests (2)
RendererTest.cs (2)
4948wasOnSyncContext = renderer.Dispatcher.CheckAccess(); 4970wasOnSyncContext = renderer.Dispatcher.CheckAccess();