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