4 references to ConcurrentCache
Microsoft.CodeAnalysis (1)
Emit\DebugDocumentsBuilder.cs (1)
33
_normalizedPathsCache = new
ConcurrentCache
<(string, string?), string>(16);
Microsoft.CodeAnalysis.CSharp (3)
Binder\BinderFactory.cs (1)
77
_binderCache = new
ConcurrentCache
<BinderCacheKey, Binder>(50);
Compilation\CSharpCompilation.cs (1)
1687
return InterlockedOperations.Initialize(ref _lazyTypeToNullableVersion, static () => new
ConcurrentCache
<TypeSymbol, NamedTypeSymbol>(size: 100));
Symbols\SubstitutedNamedTypeSymbol.cs (1)
364
(_lazyMembersByNameCache = new
ConcurrentCache
<string, ImmutableArray<Symbol>>(8));