1 write to _thread
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
34
_thread
= Thread.CurrentThread;
6 references to _thread
System.Private.CoreLib (6)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (6)
38
_previousExecutionCtx =
_thread
._executionContext;
39
_previousSyncCtx =
_thread
._synchronizationContext;
45
if (_previousSyncCtx !=
_thread
._synchronizationContext)
48
_thread
._synchronizationContext = _previousSyncCtx;
51
ExecutionContext? currentExecutionCtx =
_thread
._executionContext;
54
ExecutionContext.RestoreChangedContextToThread(
_thread
, _previousExecutionCtx, currentExecutionCtx);