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