7 references to RestoreChangedContextToThread
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (1)
52
ExecutionContext.
RestoreChangedContextToThread
(currentThread, previousExecutionCtx, currentExecutionCtx);
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (5)
173
RestoreChangedContextToThread
(currentThread, executionContext, previousExecutionCtx);
199
RestoreChangedContextToThread
(currentThread, previousExecutionCtx, currentExecutionCtx);
244
RestoreChangedContextToThread
(currentThread, executionContext, currentExecutionCtx);
258
RestoreChangedContextToThread
(threadPoolThread, contextToRestore: executionContext, currentContext: null);
285
RestoreChangedContextToThread
(currentThread, contextToRestore: null, currentExecutionCtx);
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
44
ExecutionContext.
RestoreChangedContextToThread
(_thread, _previousExecutionCtx, currentExecutionCtx);