1 write to _thread
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
33
_thread
= Thread.CurrentThread;
6 references to _thread
System.Private.CoreLib (6)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (6)
34
_previousExecutionCtx =
_thread
._executionContext;
35
_previousSyncCtx =
_thread
._synchronizationContext;
41
if (_previousSyncCtx !=
_thread
._synchronizationContext)
44
_thread
._synchronizationContext = _previousSyncCtx;
47
ExecutionContext? currentExecutionCtx =
_thread
._executionContext;
50
ExecutionContext.RestoreChangedContextToThread(
_thread
, _previousExecutionCtx, currentExecutionCtx);