4 instantiations of ValueSet
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
67
: new MultiDictionary<string, ExtensionMethodInfo>.
ValueSet
(null, null);
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (3)
167
return new
ValueSet
(set.Add(v), _equalityComparer);
218
private readonly ValueSet _emptySet =
new
(null, null);
266
updated = new
ValueSet
(v, _valueComparer);
24 references to ValueSet
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (1)
460
var
methodInfos = symbolInfo.GetExtensionMethodInfoForReceiverType(receiverTypeName);
Microsoft.CodeAnalysis.Workspaces (23)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
64
public MultiDictionary<string, ExtensionMethodInfo>.
ValueSet
GetExtensionMethodInfoForReceiverType(string typeName)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (2)
24
private readonly struct BuilderNode(string name, int parentIndex, MultiDictionary<MetadataNode, ParameterTypeInfo>.
ValueSet
parameterTypeInfos = default)
30
public readonly MultiDictionary<MetadataNode, ParameterTypeInfo>.
ValueSet
ParameterTypeInfos = parameterTypeInfos;
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
142
var
values = _receiverTypeNameToExtensionMethodMap[key];
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
151
MultiDictionary<string, INamespaceOrTypeSymbol>.
ValueSet
symbolsWithSameName,
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (18)
15
internal sealed class MultiDictionary<K, V> : IEnumerable<KeyValuePair<K, MultiDictionary<K, V>.
ValueSet
>>
27
public Enumerator(
ValueSet
v)
152
public
ValueSet
Add(V v)
200
public bool Equals(
ValueSet
other)
206
private readonly Dictionary<K,
ValueSet
> _dictionary;
214
public Dictionary<K,
ValueSet
>.KeyCollection Keys => _dictionary.Keys;
216
public Dictionary<K,
ValueSet
>.ValueCollection Values => _dictionary.Values;
218
private readonly
ValueSet
_emptySet = new(null, null);
221
public
ValueSet
this[K k]
225
return _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);
254
ValueSet
updated;
256
if (_dictionary.TryGetValue(k, out
ValueSet
set))
278
public Dictionary<K,
ValueSet
>.Enumerator GetEnumerator()
283
IEnumerator<KeyValuePair<K,
ValueSet
>> IEnumerable<KeyValuePair<K,
ValueSet
>>.GetEnumerator()