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