1 write to m_localValues
System.Private.CoreLib (1)
src\runtime\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\runtime\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);
389
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
390
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
394
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
395
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
410
if (!previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue))
412
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
424
Debug.Assert(previousExecutionCtx!.
m_localValues
!= null);
428
previousExecutionCtx.
m_localValues
.TryGetValue(local, out object? previousValue);
438
Debug.Assert(nextExecutionCtx!.
m_localValues
!= null);
442
nextExecutionCtx.
m_localValues
.TryGetValue(local, out object? currentValue);
474
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
475
current.
m_localValues
.TryGetValue(local, out object? value);
488
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
490
hadPreviousValue = current.
m_localValues
.TryGetValue(local, out previousValue);
511
Debug.Assert(current.
m_localValues
!= null, "Only the default context should have null, and we shouldn't be here on the default context");
514
newValues = current.
m_localValues
.Set(local, newValue, treatNullValueAsNonexistent: !needChangeNotifications);