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