12 writes to _executionContext
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (7)
121currentThread._executionContext = executionContext.ShallowClone(isFlowSuppressed: true); 137currentThread._executionContext = executionContext.ShallowClone(isFlowSuppressed: false); 318Thread.CurrentThread._executionContext = executionContext; 335currentThread._executionContext = contextToRestore; 352currentThread._executionContext = null; 360currentThread._executionContext = null; 545Thread.CurrentThread._executionContext =
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
887currentThread._executionContext = null;
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (4)
420currentThread._executionContext = suspendingExecutionContext; 1032thread._executionContext = previousExecCtx; 1094thread._executionContext = previousExecCtx; 1160thread._executionContext = previousExecCtx;
26 references to _executionContext
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (2)
33ExecutionContext? previousExecutionCtx = currentThread._executionContext; 49ExecutionContext? currentExecutionCtx = currentThread._executionContext;
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (14)
56ExecutionContext? executionContext = Thread.CurrentThread._executionContext; 81return Thread.CurrentThread._executionContext; 90ExecutionContext? executionContext = currentThread._executionContext; 116ExecutionContext? executionContext = currentThread._executionContext ?? Default; 131ExecutionContext? executionContext = currentThread._executionContext; 142ExecutionContext? executionContext = Thread.CurrentThread._executionContext; 172ExecutionContext? previousExecutionCtx0 = currentThread._executionContext; 213ExecutionContext? currentExecutionCtx = currentThread._executionContext; 246ExecutionContext? currentExecutionCtx = currentThread._executionContext; 294ExecutionContext? currentExecutionCtx = currentThread._executionContext; 348ExecutionContext? currentExecutionCtx = currentThread._executionContext; 368Debug.Assert(Thread.CurrentThread._executionContext == null, "ThreadPool thread not on Default ExecutionContext."); 467ExecutionContext? current = Thread.CurrentThread._executionContext; 481ExecutionContext? current = Thread.CurrentThread._executionContext;
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (10)
222RootExecutionContext = thread._executionContext; 235ExecutionContext? currentExecutionCtx = thread._executionContext; 265StackState->LeafExecutionContext = curThread._executionContext; 418if (suspendingExecutionContext != currentThread._executionContext) 977ExecutionContext? currentExecCtx = thread._executionContext; 991execCtx = thread._executionContext; 1007ExecutionContext? currentExecCtx = thread._executionContext; 1030if (previousExecCtx != thread._executionContext) 1065ExecutionContext? threadExecCtx = thread._executionContext; 1132ExecutionContext? threadExecCtx = thread._executionContext;