1 instantiation of OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.CodeStyle (1)
OrderPreservingMultiDictionary.cs (1)
60
pool => new
OrderPreservingMultiDictionary
<K, V>(pool),
8 references to OrderPreservingMultiDictionary
Microsoft.CodeAnalysis.CodeStyle (8)
OrderPreservingMultiDictionary.cs (8)
23
IEnumerable<KeyValuePair<K,
OrderPreservingMultiDictionary
<K, V>.ValueSet>>
29
private readonly ObjectPool<
OrderPreservingMultiDictionary
<K, V>>? _pool;
31
private OrderPreservingMultiDictionary(ObjectPool<
OrderPreservingMultiDictionary
<K, V>> pool)
54
private static readonly ObjectPool<
OrderPreservingMultiDictionary
<K, V>> s_poolInstance = CreatePool();
57
public static ObjectPool<
OrderPreservingMultiDictionary
<K, V>> CreatePool()
59
var pool = new ObjectPool<
OrderPreservingMultiDictionary
<K, V>>(
65
public static
OrderPreservingMultiDictionary
<K, V> GetInstance()
67
var
instance = s_poolInstance.Allocate();