1 write to _mainSynchronizationContext
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
216WebAssemblyDispatcher._mainSynchronizationContext = SynchronizationContext.Current;
6 references to _mainSynchronizationContext
Microsoft.AspNetCore.Components.WebAssembly (6)
Hosting\WebAssemblyHostBuilder.cs (1)
214if (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