5 references to ConcurrentCache
Microsoft.CodeAnalysis (5)
Collections\ConcurrentCache.cs (1)
43
:
this
(size, EqualityComparer<TKey>.Default) { }
CommandLine\AnalyzerConfigSet.cs (1)
52
new
ConcurrentCache
<List<Section>, AnalyzerConfigOptionsResult>(50, SequenceEqualComparer.Instance); // arbitrary size
Compilation\Compilation.cs (2)
1209
ref _getTypeCache, static () => new
ConcurrentCache
<string, INamedTypeSymbol?>(50, ReferenceEqualityComparer.Instance));
1240
ref _getTypesCache, static () => new
ConcurrentCache
<string, ImmutableArray<INamedTypeSymbol>>(50, ReferenceEqualityComparer.Instance));
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
175
new
ConcurrentCache
<string, (AssemblyIdentity? identity, AssemblyIdentityParts parts)>(1024, ReferenceEqualityComparer.Instance);