1 write to m_localValues
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
40
m_localValues
= localValues;
19 references to m_localValues
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (19)
86
if (
m_localValues
== null || AsyncLocalValueMap.IsEmpty(
m_localValues
))
95
return new ExecutionContext(
m_localValues
, m_localChangeNotifications, isFlowSuppressed);
372
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
373
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
377
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
378
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
393
if (!previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue))
395
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
407
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
411
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
421
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
425
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
457
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
458
current.
m_localValues
.TryGetValue(local, out object? value);
471
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
473
hadPreviousValue = current.
m_localValues
.TryGetValue(local, out previousValue);
494
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
497
newValues = current.
m_localValues
.Set(local, newValue, treatNullValueAsNonexistent: !needChangeNotifications);