1 instantiation of Entry
Roslyn.Diagnostics.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\BoundedCacheWithFactory.cs (1)
63var newEntry = new Entry(key, valueFactory(key));
8 references to Entry
Roslyn.Diagnostics.Analyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\BoundedCacheWithFactory.cs (8)
20private readonly List<WeakReference<Entry?>> _weakReferencedEntries = new() 22new WeakReference<Entry?>(null), 23new WeakReference<Entry?>(null), 24new WeakReference<Entry?>(null), 25new WeakReference<Entry?>(null), 26new WeakReference<Entry?>(null), 37if (!weakReferencedEntry.TryGetTarget(out var cachedEntry) || 63var newEntry = new Entry(key, valueFactory(key));