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