2 instantiations of ValueSet
Microsoft.CodeAnalysis (2)
Collections\OrderPreservingMultiDictionary.cs (2)
108_dictionary![k] = new ValueSet(v); 330return new ValueSet(arrayBuilder);
16 references to ValueSet
Microsoft.CodeAnalysis (16)
Collections\OrderPreservingMultiDictionary.cs (16)
24IEnumerable<KeyValuePair<K, OrderPreservingMultiDictionary<K, V>.ValueSet>> 77private static readonly Dictionary<K, ValueSet> s_emptyDictionary = new(); 80private PooledDictionary<K, ValueSet>? _dictionary; 88_dictionary ??= PooledDictionary<K, ValueSet>.GetInstance(); 98if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 114if (_dictionary is not null && _dictionary.TryGetValue(key, out var valueSet)) 124public Dictionary<K, ValueSet>.Enumerator GetEnumerator() 129IEnumerator<KeyValuePair<K, ValueSet>> IEnumerable<KeyValuePair<K, ValueSet>>.GetEnumerator() 147if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 159if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 171_dictionary.TryGetValue(key, out var valueSet) && 178public Dictionary<K, ValueSet>.KeyCollection Keys 307internal ValueSet WithAddedItem(V item) 335private readonly ValueSet _valueSet; 339public Enumerator(ValueSet valueSet)