1 instantiation of OrderPreservingMultiDictionary
Microsoft.CodeAnalysis (1)
Collections\OrderPreservingMultiDictionary.cs (1)
61
pool => new
OrderPreservingMultiDictionary
<K, V>(pool),
11 references to OrderPreservingMultiDictionary
Microsoft.CodeAnalysis (10)
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();
PEWriter\MetadataWriter.cs (2)
2180
OrderPreservingMultiDictionary
<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2184
groupedSecurityAttributes = groupedSecurityAttributes ??
OrderPreservingMultiDictionary
<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
Microsoft.CodeAnalysis.CSharp (1)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
49
var
additionMap = OrderPreservingMultiDictionary<SyntaxNode, BoundNode>.GetInstance();