1 write to m_localValues
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
42m_localValues = localValues;
19 references to m_localValues
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (19)
103if (m_localValues == null || AsyncLocalValueMap.IsEmpty(m_localValues)) 110return new ExecutionContext(m_localValues, m_localChangeNotifications, isFlowSuppressed); 389Debug.Assert(previousExecutionCtx!.m_localValues != null); 390Debug.Assert(nextExecutionCtx!.m_localValues != null); 394previousExecutionCtx.m_localValues.TryGetValue(local, out object? previousValue); 395nextExecutionCtx.m_localValues.TryGetValue(local, out object? currentValue); 410if (!previousExecutionCtx.m_localValues.TryGetValue(local, out object? previousValue)) 412nextExecutionCtx.m_localValues.TryGetValue(local, out object? currentValue); 424Debug.Assert(previousExecutionCtx!.m_localValues != null); 428previousExecutionCtx.m_localValues.TryGetValue(local, out object? previousValue); 438Debug.Assert(nextExecutionCtx!.m_localValues != null); 442nextExecutionCtx.m_localValues.TryGetValue(local, out object? currentValue); 474Debug.Assert(current.m_localValues != null, "Only the default context should have null, and we shouldn't be here on the default context"); 475current.m_localValues.TryGetValue(local, out object? value); 488Debug.Assert(current.m_localValues != null, "Only the default context should have null, and we shouldn't be here on the default context"); 490hadPreviousValue = current.m_localValues.TryGetValue(local, out previousValue); 511Debug.Assert(current.m_localValues != null, "Only the default context should have null, and we shouldn't be here on the default context"); 514newValues = current.m_localValues.Set(local, newValue, treatNullValueAsNonexistent: !needChangeNotifications);