4 instantiations of ValueSet
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
69: new MultiDictionary<string, ExtensionMethodInfo>.ValueSet(null, null);
MultiDictionary.cs (3)
167return new ValueSet(set.Add(v), _equalityComparer); 218private readonly ValueSet _emptySet = new(null, null); 259updated = new ValueSet(v, _valueComparer);
36 references to ValueSet
Microsoft.CodeAnalysis.CSharp.Features (3)
AbstractAssignOutParametersCodeFixProvider.cs (1)
151MultiDictionary<SyntaxNode, (SyntaxNode exprOrStatement, ImmutableArray<IParameterSymbol> unassignedParameters)>.ValueSet values,
AssignOutParametersAboveReturnCodeFixProvider.cs (1)
37MultiDictionary<SyntaxNode, (SyntaxNode exprOrStatement, ImmutableArray<IParameterSymbol> unassignedParameters)>.ValueSet values,
AssignOutParametersAtStartCodeFixProvider.cs (1)
61MultiDictionary<SyntaxNode, (SyntaxNode exprOrStatement, ImmutableArray<IParameterSymbol> unassignedParameters)>.ValueSet values,
Microsoft.CodeAnalysis.Features (9)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (2)
440var methodInfos = syntaxIndex.ReceiverTypeNameToExtensionMethodMap[receiverTypeName]; 465var methodInfos = symbolInfo.GetExtensionMethodInfoForReceiverType(receiverTypeName);
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (5)
334var getDefinitions = getDefinitionsByDocumentId[documentId]; 335var setDefinitions = setDefinitionsByDocumentId[documentId]; 349MultiDictionary<DocumentId, IMethodSymbol>.ValueSet originalGetDefinitions, 350MultiDictionary<DocumentId, IMethodSymbol>.ValueSet originalSetDefinitions, 406MultiDictionary<DocumentId, IMethodSymbol>.ValueSet originalDefinitions,
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (2)
346MultiDictionary<DocumentId, IPropertySymbol>.ValueSet originalDefinitions, 400MultiDictionary<DocumentId, IPropertySymbol>.ValueSet originalDefinitions,
Microsoft.CodeAnalysis.Workspaces (23)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
66public MultiDictionary<string, ExtensionMethodInfo>.ValueSet GetExtensionMethodInfoForReceiverType(string typeName)
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (2)
31public readonly MultiDictionary<MetadataNode, ParameterTypeInfo>.ValueSet ParameterTypeInfos; 33public BuilderNode(string name, int parentIndex, MultiDictionary<MetadataNode, ParameterTypeInfo>.ValueSet parameterTypeInfos = default)
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
146var values = _receiverTypeNameToExtensionMethodMap[key];
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
150MultiDictionary<string, INamespaceOrTypeSymbol>.ValueSet symbolsWithSameName,
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); 241_dictionary = new Dictionary<K, ValueSet>(capacity, comparer); 247ValueSet updated; 249if (_dictionary.TryGetValue(k, out ValueSet set)) 271public Dictionary<K, ValueSet>.Enumerator GetEnumerator() 276IEnumerator<KeyValuePair<K, ValueSet>> IEnumerable<KeyValuePair<K, ValueSet>>.GetEnumerator()
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\InheritanceMarginHelpers.cs (1)
175var targetsWithSameName = nameToTargets[target.DisplayName];