3 instantiations of ValueSet
Microsoft.CodeAnalysis.CodeStyle (3)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (3)
167return new ValueSet(set.Add(v), _equalityComparer); 218private readonly ValueSet _emptySet = new(null, null); 266updated = new ValueSet(v, _valueComparer);
18 references to ValueSet
Microsoft.CodeAnalysis.CodeStyle (18)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (18)
15internal sealed class MultiDictionary<K, V> : IEnumerable<KeyValuePair<K, MultiDictionary<K, V>.ValueSet>> 27public Enumerator(ValueSet v) 152public ValueSet Add(V v) 200public bool Equals(ValueSet other) 206private readonly Dictionary<K, ValueSet> _dictionary; 214public Dictionary<K, ValueSet>.KeyCollection Keys => _dictionary.Keys; 216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values; 218private readonly ValueSet _emptySet = new(null, null); 221public ValueSet this[K k] 225return _dictionary.TryGetValue(k, out var set) ? set : _emptySet; 231_dictionary = new Dictionary<K, ValueSet>(); 236_dictionary = new Dictionary<K, ValueSet>(comparer); 248_dictionary = new Dictionary<K, ValueSet>(capacity, comparer); 254ValueSet updated; 256if (_dictionary.TryGetValue(k, out ValueSet set)) 278public Dictionary<K, ValueSet>.Enumerator GetEnumerator() 283IEnumerator<KeyValuePair<K, ValueSet>> IEnumerable<KeyValuePair<K, ValueSet>>.GetEnumerator()