1 type derived from BoundedCacheWithFactory
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\Compiler\BoundedCache.cs (1)
12
internal sealed class BoundedCache<TKey, TValue> :
BoundedCacheWithFactory
<TKey, TValue>
5 instantiations of BoundedCacheWithFactory
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayStringCache.cs (1)
19
private static readonly BoundedCacheWithFactory<Compilation, ConcurrentDictionary<SymbolDisplayFormat, SymbolDisplayStringCache>> s_byCompilationCache =
new
();
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
25
private static readonly BoundedCacheWithFactory<Compilation, WellKnownTypeProvider> s_providerCache =
new
();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysisHelper.cs (1)
35
new
();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataConfig.cs (1)
28
private static readonly BoundedCacheWithFactory<Compilation, TaintedDataConfig> s_ConfigsByCompilation =
new
();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\WebInputSources.cs (1)
24
private static readonly BoundedCacheWithFactory<Compilation, ConcurrentDictionary<INamedTypeSymbol, bool>> s_classIsControllerByCompilation =
new
();
5 references to BoundedCacheWithFactory
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayStringCache.cs (1)
19
private static readonly
BoundedCacheWithFactory
<Compilation, ConcurrentDictionary<SymbolDisplayFormat, SymbolDisplayStringCache>> s_byCompilationCache = new();
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
25
private static readonly
BoundedCacheWithFactory
<Compilation, WellKnownTypeProvider> s_providerCache = new();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysisHelper.cs (1)
34
private static readonly
BoundedCacheWithFactory
<Compilation, DisposeAnalysisHelper> s_DisposeHelperCache =
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataConfig.cs (1)
28
private static readonly
BoundedCacheWithFactory
<Compilation, TaintedDataConfig> s_ConfigsByCompilation = new();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\WebInputSources.cs (1)
24
private static readonly
BoundedCacheWithFactory
<Compilation, ConcurrentDictionary<INamedTypeSymbol, bool>> s_classIsControllerByCompilation = new();