1 instantiation of CachingIdentityFactory
Microsoft.CodeAnalysis (1)
Collections\CachingFactory.cs (1)
199pool => new CachingIdentityFactory<TKey, TValue>(size, valueFactory, pool),
9 references to CachingIdentityFactory
Microsoft.CodeAnalysis (5)
Collections\CachingFactory.cs (5)
128internal class CachingIdentityFactory<TKey, TValue> : CachingBase<CachingIdentityFactory<TKey, TValue>.Entry> 132private readonly ObjectPool<CachingIdentityFactory<TKey, TValue>>? _pool; 146public CachingIdentityFactory(int size, Func<TKey, TValue> valueFactory, ObjectPool<CachingIdentityFactory<TKey, TValue>> pool) : 196public static ObjectPool<CachingIdentityFactory<TKey, TValue>> CreatePool(int size, Func<TKey, TValue> valueFactory) 198var pool = new ObjectPool<CachingIdentityFactory<TKey, TValue>>(
Microsoft.CodeAnalysis.CSharp (4)
Parser\LexerCache.cs (4)
20private static readonly ObjectPool<CachingIdentityFactory<string, SyntaxKind>> s_keywordKindPool = 21CachingIdentityFactory<string, SyntaxKind>.CreatePool( 36private CachingIdentityFactory<string, SyntaxKind>? _keywordKindMap; 134private CachingIdentityFactory<string, SyntaxKind> KeywordKindMap