2 instantiations of DictionaryPool
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
PooledObjects\DictionaryPool`2.cs (2)
30
=>
new
(Policy.Create(comparer, maximumObjectSize), poolSize);
33
=>
new
(policy, poolSize);
11 references to DictionaryPool
Microsoft.AspNetCore.Razor.Utilities.Shared (7)
PooledObjects\DictionaryPool`2.cs (3)
19
public static readonly
DictionaryPool
<TKey, TValue> Default = Create();
26
public static
DictionaryPool
<TKey, TValue> Create(
32
public static
DictionaryPool
<TKey, TValue> Create(PooledObjectPolicy policy, Optional<int> poolSize = default)
PooledObjects\SpecializedPools.StringDictionary`1.cs (4)
21
public static readonly
DictionaryPool
<string, TValue> Ordinal =
DictionaryPool
<string, TValue>.Create(StringComparer.Ordinal);
22
public static readonly
DictionaryPool
<string, TValue> OrdinalIgnoreCase =
DictionaryPool
<string, TValue>.Create(StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Components\ComponentBindLoweringPass.cs (1)
73
using var _ =
DictionaryPool
<BindEntryKey, BindEntry>.GetPooledObject(out var bindEntries);
Microsoft.CodeAnalysis.Razor.Workspaces (3)
CodeActions\Razor\ComponentAccessibilityCodeActionProvider.cs (1)
217
using var _ =
DictionaryPool
<string, TagHelperPair>.GetPooledObject(out var matching);
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
86
using var _ =
DictionaryPool
<TextSpan, bool>.GetPooledObject(out var processedAttributes);
FoldingRanges\FoldingRangeService.cs (1)
67
using var _1 =
DictionaryPool
<int, FoldingRange>.GetPooledObject(out var reducedRanges);