13 references to SpecializedPools
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
PooledObjects\PooledHashSet`1.cs (2)
269return (HashSetPool<T>)(object)SpecializedPools.StringHashSet.Ordinal; 274return (HashSetPool<T>)(object)SpecializedPools.StringHashSet.OrdinalIgnoreCase;
Microsoft.CodeAnalysis.Razor.Compiler (8)
Language\Components\ComponentBindLoweringPass.cs (3)
220using var _ = SpecializedPools.GetPooledReferenceEqualityHashSet<IntermediateNode>(out var parents); 310using var _ = SpecializedPools.GetPooledStringHashSet(out var duplicates); 332using var _ = SpecializedPools.GetPooledStringDictionary<ImmutableArray<AttributeInfo>.Builder>(out var duplicates);
Language\Components\ComponentEventHandlerLoweringPass.cs (1)
39using var _ = SpecializedPools.GetPooledReferenceEqualityHashSet<IntermediateNode>(out var parents);
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
213using var _ = SpecializedPools.GetPooledReferenceEqualityHashSet<DirectiveDescriptor>(out var seenDirectives);
Language\Legacy\ParserContext.cs (2)
40_seenDirectivesSet = SpecializedPools.StringHashSet.Ordinal.Get(); 54SpecializedPools.StringHashSet.Ordinal.Return(_seenDirectivesSet);
Language\TagHelperBinder.cs (1)
59using var _1 = SpecializedPools.GetPooledStringDictionary<int>(ignoreCase: true, out var tagNameToBuilderIndexMap);
Microsoft.CodeAnalysis.Razor.Workspaces (3)
AutoInsert\AutoInsertService.cs (1)
28using var _ = SpecializedPools.GetPooledStringHashSet(out var set);
CodeActions\CodeActionResolveService.cs (1)
156using var _ = SpecializedPools.GetPooledStringDictionary<T>(out var resolverMap);
Completion\DirectiveAttributeCompletionItemProvider.cs (1)
107using var _ = SpecializedPools.GetPooledStringDictionary<AttributeCompletionDetails>(out var attributeCompletions);