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