9 overrides of Post
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContext.cs (1)
160public override void Post(SendOrPostCallback d, object? state)
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
2188public override void Post(SendOrPostCallback d, object? state)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\AsyncPump.cs (1)
99 public override void Post(SendOrPostCallback d, object state)
ScenarioTests.Common.Tests (2)
ScenarioTestTypes.cs (1)
186public override void Post(SendOrPostCallback d, object state)
ThreadHoppingSynchronizationContext.cs (1)
13public override void Post(SendOrPostCallback d, object state)
System.ServiceModel.Primitives (2)
Internals\System\Runtime\IOThreadScheduler.cs (1)
557public override void Post(SendOrPostCallback d, object state)
Internals\System\Runtime\ServiceModelSynchronizationContext.cs (1)
14public override void Post(SendOrPostCallback d, object state)
System.Windows.Forms (1)
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (1)
89public override void Post(SendOrPostCallback d, object? state)
UnitTests.Common (1)
TestTypes.cs (1)
276public override void Post(SendOrPostCallback d, object state)
33 references to Post
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ThreadBehavior.cs (2)
79syncContext.Post(this.ThreadAffinityStartCallbackDelegate, resume); 83syncContext.Post(this.ThreadAffinityEndCallbackDelegate, resume);
Microsoft.AspNetCore.Components.WebAssembly (4)
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) =>
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Devices\Network.Availability.vb (1)
144_synchronizationContext.Post(_networkAvailabilityChangedCallback, Nothing)
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\AsyncOperation.cs (1)
76_syncContext.Post(d, arg);
System.IO.Pipelines (2)
System\IO\Pipelines\Pipe.cs (2)
960completionData.SynchronizationContext.Post(s_syncContextExecuteWithoutExecutionContextCallback, completionData); 965completionData.SynchronizationContext.Post(s_syncContextExecutionContextCallback, completionData);
System.Private.CoreLib (13)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
1242continuationSyncCtx.Post(s_postCallback, this);
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.RuntimeAsyncYielder.cs (1)
36syncCtx.Post(static s => ((Task)s!).ExecuteDirectly(null), raTask);
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeAsyncTaskContinuation.cs (1)
81continuationSyncCtx.Post(TaskContinuationResume.s_postCallback, RuntimeAsyncTask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Progress.cs (1)
75_synchronizationContext.Post(_invokeHandlers, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (2)
89syncCtx.Post(s_sendOrPostCallbackRunAction, continuation); 141syncCtx.Post(static s => ((IAsyncStateMachineBox)s!).MoveNext(), box);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs (1)
325sc.Post(continuation.Invoke, state);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
2064targetContext.Post(static state => ((ExceptionDispatchInfo)state!).Throw(), edi);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (2)
424c.m_syncContext.Post(s_postCallback, GetActionLogDelegate(c.m_continuationId, c.m_action)); 428c.m_syncContext.Post(s_postCallback, c.m_action); // s_postCallback is manually cached, as the compiler won't in a SecurityCritical method
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (3)
327/// <see cref="SynchronizationContext.Post">Post</see> method 533/// <see cref="SynchronizationContext.Post"/> on the <see cref="SynchronizationContext"/> 559m_synchronizationContext.Post(s_postCallback, (object)task);
System.ServiceModel.Primitives (2)
System\ServiceModel\Dispatcher\ThreadBehavior.cs (2)
78syncContext.Post(ThreadAffinityStartCallbackDelegate, resume); 82syncContext.Post(ThreadAffinityEndCallbackDelegate, resume);
System.Speech (1)
Internal\AsyncSerializedWorker.cs (1)
239_syncContext.Post(_workerPostCallback, null);
System.Threading.Channels (2)
System\Threading\Channels\AsyncOperation.cs (2)
239sc.Post(static s => ((AsyncOperation)s!).SetCompletionAndInvokeContinuation(), this); 396sc.Post(static s =>
System.Windows.Forms (4)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
410syncContext.Post(_ => ShowDialogProc(), null);
System\Windows\Forms\Form.cs (2)
5655syncContext.Post((state) => ShowFormInternally(owner), null); 5955syncContext.Post((state) => ShowDialogProc(
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (1)
181SynchronizationContext.Current?.Post(expirationCallback, tool);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Animation\HighPrecisionTimer.cs (1)
424registration.SyncContext.Post(s_dispatchCallback, registration);