1 write to _mainSynchronizationContext
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
216
WebAssemblyDispatcher.
_mainSynchronizationContext
= SynchronizationContext.Current;
6 references to _mainSynchronizationContext
Microsoft.AspNetCore.Components.WebAssembly (6)
Hosting\WebAssemblyHostBuilder.cs (1)
214
if (WebAssemblyDispatcher.
_mainSynchronizationContext
== null && SynchronizationContext.Current != null)
Rendering\WebAssemblyDispatcher.cs (4)
34
_mainSynchronizationContext
!.Post(static (object? o) =>
62
_mainSynchronizationContext
!.Post(static (object? o) =>
92
_mainSynchronizationContext
!.Post(static (object? o) =>
137
_mainSynchronizationContext
!.Post(static (object? o) =>
Rendering\WebAssemblyRenderer.cs (1)
37
_dispatcher = WebAssemblyDispatcher.
_mainSynchronizationContext
== null