3 instantiations of OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
473var result = new OrderPreservingMultiDictionary<int, int>();
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
213var inheritanceMap = new OrderPreservingMultiDictionary<int, int>();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
61pool => new OrderPreservingMultiDictionary<K, V>(pool),
28 references to OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.Workspaces (28)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (7)
52private readonly OrderPreservingMultiDictionary<int, int> _inheritanceMap; 76OrderPreservingMultiDictionary<string, string> inheritanceMap, 89OrderPreservingMultiDictionary<int, int> inheritanceMap, 460OrderPreservingMultiDictionary<string, string> inheritanceMap, 469private static OrderPreservingMultiDictionary<int, int> CreateIndexBasedInheritanceMap( 471OrderPreservingMultiDictionary<string, string> inheritanceMap) 473var result = new OrderPreservingMultiDictionary<int, int>();
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (12)
255private readonly OrderPreservingMultiDictionary<string, string> _inheritanceMap = OrderPreservingMultiDictionary<string, string>.GetInstance(); 256private readonly OrderPreservingMultiDictionary<MetadataNode, MetadataNode> _parentToChildren = OrderPreservingMultiDictionary<MetadataNode, MetadataNode>.GetInstance(); 349var definitionMap = OrderPreservingMultiDictionary<string, MetadataDefinition>.GetInstance(); 367OrderPreservingMultiDictionary<string, MetadataDefinition>.ValueSet definitionsWithSameName) 378var definitionMap = OrderPreservingMultiDictionary<string, MetadataDefinition>.GetInstance(); 404OrderPreservingMultiDictionary<string, MetadataDefinition> definitionMap) 420OrderPreservingMultiDictionary<string, MetadataDefinition> definitionMap) 486OrderPreservingMultiDictionary<string, MetadataDefinition> definitionMap)
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
213var inheritanceMap = new OrderPreservingMultiDictionary<int, int>();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (8)
24IEnumerable<KeyValuePair<K, OrderPreservingMultiDictionary<K, V>.ValueSet>> 30private readonly ObjectPool<OrderPreservingMultiDictionary<K, V>>? _pool; 32private OrderPreservingMultiDictionary(ObjectPool<OrderPreservingMultiDictionary<K, V>> pool) 55private static readonly ObjectPool<OrderPreservingMultiDictionary<K, V>> s_poolInstance = CreatePool(); 58public static ObjectPool<OrderPreservingMultiDictionary<K, V>> CreatePool() 60var pool = new ObjectPool<OrderPreservingMultiDictionary<K, V>>( 66public static OrderPreservingMultiDictionary<K, V> GetInstance() 68var instance = s_poolInstance.Allocate();