8 writes to _executionContext
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (7)
106currentThread._executionContext = executionContext.ShallowClone(isFlowSuppressed: true); 122currentThread._executionContext = executionContext.ShallowClone(isFlowSuppressed: false); 301Thread.CurrentThread._executionContext = executionContext; 318currentThread._executionContext = contextToRestore; 335currentThread._executionContext = null; 343currentThread._executionContext = null; 528Thread.CurrentThread._executionContext =
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1065currentThread._executionContext = null;
15 references to _executionContext
System.Private.CoreLib (15)
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 (13)
54ExecutionContext? executionContext = Thread.CurrentThread._executionContext; 79return Thread.CurrentThread._executionContext; 101ExecutionContext? executionContext = currentThread._executionContext ?? Default; 116ExecutionContext? executionContext = currentThread._executionContext; 127ExecutionContext? executionContext = Thread.CurrentThread._executionContext; 155ExecutionContext? previousExecutionCtx0 = currentThread._executionContext; 196ExecutionContext? currentExecutionCtx = currentThread._executionContext; 229ExecutionContext? currentExecutionCtx = currentThread._executionContext; 277ExecutionContext? currentExecutionCtx = currentThread._executionContext; 331ExecutionContext? currentExecutionCtx = currentThread._executionContext; 351Debug.Assert(Thread.CurrentThread._executionContext == null, "ThreadPool thread not on Default ExecutionContext."); 450ExecutionContext? current = Thread.CurrentThread._executionContext; 464ExecutionContext? current = Thread.CurrentThread._executionContext;