6 instantiations of MultiDictionary
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (5)
48var classesThatMayDeriveFromSystemObject = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 49var valueTypes = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 50var enums = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 51var delegates = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 53var namedTypes = new MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)>(
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
323var receiverTypeNameToExtensionMethodMap = new MultiDictionary<string, ExtensionMethodInfo>();
37 references to MultiDictionary
Microsoft.CodeAnalysis.Workspaces (37)
FindSymbols\FindReferences\DependentTypeFinder.cs (1)
252MultiDictionary<DocumentId, DeclaredSymbolInfo> documentToInfos,
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (15)
18MultiDictionary<DocumentId, DeclaredSymbolInfo> classesAndRecordsThatMayDeriveFromSystemObject, 19MultiDictionary<DocumentId, DeclaredSymbolInfo> valueTypes, 20MultiDictionary<DocumentId, DeclaredSymbolInfo> enums, 21MultiDictionary<DocumentId, DeclaredSymbolInfo> delegates, 22MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)> namedTypes) 26public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> ClassesAndRecordsThatMayDeriveFromSystemObject = classesAndRecordsThatMayDeriveFromSystemObject; 27public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> ValueTypes = valueTypes; 28public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> Enums = enums; 29public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> Delegates = delegates; 30public readonly MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)> NamedTypes = namedTypes; 48var classesThatMayDeriveFromSystemObject = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 49var valueTypes = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 50var enums = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 51var delegates = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 53var namedTypes = new MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)>(
FindSymbols\SymbolTree\SymbolTreeInfo.cs (6)
62private readonly MultiDictionary<string, ExtensionMethodInfo>? _receiverTypeNameToExtensionMethodMap; 64public MultiDictionary<string, ExtensionMethodInfo>.ValueSet GetExtensionMethodInfoForReceiverType(string typeName) 67: new MultiDictionary<string, ExtensionMethodInfo>.ValueSet(null, null); 77MultiDictionary<string, ExtensionMethodInfo>? receiverTypeNameToExtensionMethodMap) 90MultiDictionary<string, ExtensionMethodInfo>? receiverTypeNameToExtensionMethodMap) 461MultiDictionary<string, ExtensionMethodInfo>? receiverTypeNameToExtensionMethodMap)
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_Metadata.cs (4)
269private readonly MultiDictionary<MetadataNode, ParameterTypeInfo> _extensionMethodToParameterTypeInfo = []; 323var receiverTypeNameToExtensionMethodMap = new MultiDictionary<string, ExtensionMethodInfo>(); 727private readonly ImmutableArray<BuilderNode> GenerateUnsortedNodes(MultiDictionary<string, ExtensionMethodInfo> receiverTypeNameToMethodMap) 737MultiDictionary<string, ExtensionMethodInfo> receiverTypeNameToMethodMap,
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
227MultiDictionary<string, ExtensionMethodInfo>? receiverTypeNameToExtensionMethodMap;
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (7)
19private static readonly ObjectPool<MultiDictionary<string, INamespaceOrTypeSymbol>> s_symbolMapPool = new(() => []); 21private static MultiDictionary<string, INamespaceOrTypeSymbol> AllocateSymbolMap() 24private static void FreeSymbolMap(MultiDictionary<string, INamespaceOrTypeSymbol> symbolMap) 126var symbolMap = AllocateSymbolMap(); 151MultiDictionary<string, INamespaceOrTypeSymbol>.ValueSet symbolsWithSameName, 160var symbolMap = AllocateSymbolMap(); 202private static void AddChildNamespacesAndTypes(INamespaceOrTypeSymbol symbol, MultiDictionary<string, INamespaceOrTypeSymbol> symbolMap)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
15internal sealed class MultiDictionary<K, V> : IEnumerable<KeyValuePair<K, MultiDictionary<K, V>.ValueSet>>