2 writes to _values
Microsoft.CodeAnalysis.Workspaces (2)
Options\SolutionOptionSet.cs (2)
38_values = values; 59return 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. 50if (_values.TryGetValue(optionKey, out var value)) 71return new SolutionOptionSet(_legacyGlobalOptions, _values, _changedOptionKeys); 76_values.SetItem(optionKey, internalValue), 82var internallyDefined = _changedOptionKeys.Where(key => key.Option is IOption2).SelectAsArray(key => KeyValuePairUtil.Create(new OptionKey2((IOption2)key.Option, key.Language), _values[key])); 83var externallyDefined = _changedOptionKeys.Where(key => key.Option is not IOption2).SelectAsArray(key => KeyValuePairUtil.Create(key, _values[key]));