1 write to m_localValues
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
42
m_localValues
= localValues;
19 references to m_localValues
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (19)
103
if (
m_localValues
== null || AsyncLocalValueMap.IsEmpty(
m_localValues
))
110
return new ExecutionContext(
m_localValues
, m_localChangeNotifications, isFlowSuppressed);
387
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
388
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
392
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
393
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
408
if (!previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue))
410
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
422
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
426
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
436
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
440
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
472
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
473
current.
m_localValues
.TryGetValue(local, out object? value);
486
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
488
hadPreviousValue = current.
m_localValues
.TryGetValue(local, out previousValue);
509
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
512
newValues = current.
m_localValues
.Set(local, newValue, treatNullValueAsNonexistent: !needChangeNotifications);