1 instantiation of OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
61
pool => new
OrderPreservingMultiDictionary
<K, V>(pool),
8 references to OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.CodeStyle (8)
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();