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)
167return new ValueSet(set.Add(v), _equalityComparer); 218private readonly ValueSet _emptySet = new(null, null); 266updated = new ValueSet(v, _valueComparer);
24 references to ValueSet
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (1)
460var methodInfos = symbolInfo.GetExtensionMethodInfoForReceiverType(receiverTypeName);
Microsoft.CodeAnalysis.Workspaces (23)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
64public MultiDictionary<string, ExtensionMethodInfo>.ValueSet GetExtensionMethodInfoForReceiverType(string typeName)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (2)
24private readonly struct BuilderNode(string name, int parentIndex, MultiDictionary<MetadataNode, ParameterTypeInfo>.ValueSet parameterTypeInfos = default) 30public readonly MultiDictionary<MetadataNode, ParameterTypeInfo>.ValueSet ParameterTypeInfos = parameterTypeInfos;
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
142var values = _receiverTypeNameToExtensionMethodMap[key];
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
151MultiDictionary<string, INamespaceOrTypeSymbol>.ValueSet symbolsWithSameName,
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()