1 write to _thread
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
28
_thread
= Thread.CurrentThread;
6 references to _thread
System.Private.CoreLib (6)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (6)
29
_previousExecutionCtx =
_thread
._executionContext;
30
_previousSyncCtx =
_thread
._synchronizationContext;
36
if (_previousSyncCtx !=
_thread
._synchronizationContext)
39
_thread
._synchronizationContext = _previousSyncCtx;
42
ExecutionContext? currentExecutionCtx =
_thread
._executionContext;
45
ExecutionContext.RestoreChangedContextToThread(
_thread
, _previousExecutionCtx, currentExecutionCtx);