5 writes to _currentValues
Microsoft.CodeAnalysis.Workspaces (5)
Options\GlobalOptionService.cs (5)
45
_currentValues
= ImmutableDictionary.Create<OptionKey2, object?>();
156
_currentValues
= _currentValues.Add(optionKey, value);
188
_currentValues
= _currentValues.SetItem(optionKey, value);
231
_currentValues
= _currentValues.SetItem(optionKey, newValue);
259
_currentValues
= ImmutableDictionary.Create<OptionKey2, object?>();
5 references to _currentValues
Microsoft.CodeAnalysis.Workspaces (5)
Options\GlobalOptionService.cs (5)
149
if (
_currentValues
.TryGetValue(optionKey, out var value))
156
_currentValues =
_currentValues
.Add(optionKey, value);
188
_currentValues =
_currentValues
.SetItem(optionKey, value);
222
if (
_currentValues
.TryGetValue(optionKey, out var oldValue))
231
_currentValues =
_currentValues
.SetItem(optionKey, newValue);