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