1 instantiation of Entry
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\RoslynUtils\BoundedCacheWithFactory.cs (1)
64
var newEntry = new
Entry
(key, valueFactory(key));
8 references to Entry
Microsoft.AspNetCore.App.Analyzers (8)
src\Shared\RoslynUtils\BoundedCacheWithFactory.cs (8)
21
private readonly List<WeakReference<
Entry
?>> _weakReferencedEntries = new()
23
new WeakReference<
Entry
?>(null),
24
new WeakReference<
Entry
?>(null),
25
new WeakReference<
Entry
?>(null),
26
new WeakReference<
Entry
?>(null),
27
new WeakReference<
Entry
?>(null),
38
if (!weakReferencedEntry.TryGetTarget(out
var
cachedEntry) ||
64
var
newEntry = new Entry(key, valueFactory(key));