1 write to _thread
System.Private.CoreLib (1)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
29
_thread
= Thread.CurrentThread;
6 references to _thread
System.Private.CoreLib (6)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (6)
33
_previousExecutionCtx =
_thread
._executionContext;
34
_previousSyncCtx =
_thread
._synchronizationContext;
40
if (_previousSyncCtx !=
_thread
._synchronizationContext)
43
_thread
._synchronizationContext = _previousSyncCtx;
46
ExecutionContext? currentExecutionCtx =
_thread
._executionContext;
49
ExecutionContext.RestoreChangedContextToThread(
_thread
, _previousExecutionCtx, currentExecutionCtx);