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