2 writes to _values
Microsoft.CodeAnalysis.Workspaces (2)
Options\SolutionOptionSet.cs (2)
37
_values
= values;
58
return ImmutableInterlocked.GetOrAdd(ref
_values
, optionKey, value);
6 references to _values
Microsoft.CodeAnalysis.Workspaces (6)
Options\SolutionOptionSet.cs (6)
27
/// Keys of options whose current value stored in <see cref="
_values
"/> differs from the value originally read from global options.
49
if (
_values
.TryGetValue(optionKey, out var value))
70
return new SolutionOptionSet(_legacyGlobalOptions,
_values
, _changedOptionKeys);
75
_values
.SetItem(optionKey, internalValue),
81
var internallyDefined = _changedOptionKeys.Where(key => key.Option is IOption2).SelectAsArray(key => KeyValuePairUtil.Create(new OptionKey2((IOption2)key.Option, key.Language),
_values
[key]));
82
var externallyDefined = _changedOptionKeys.Where(key => key.Option is not IOption2).SelectAsArray(key => KeyValuePairUtil.Create(key,
_values
[key]));