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