8 references to Create
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\AllowedChildTagDescriptorBuilder_Pooling.cs (1)
12
DefaultPool.
Create
(static () => new AllowedChildTagDescriptorBuilder());
Language\BoundAttributeDescriptorBuilder_Pooling.cs (1)
12
DefaultPool.
Create
(static () => new BoundAttributeDescriptorBuilder());
Language\BoundAttributeParameterDescriptorBuilder_Pooling.cs (1)
12
DefaultPool.
Create
(static () => new BoundAttributeParameterDescriptorBuilder());
Language\Legacy\ClassifiedSpanVisitor.cs (1)
18
private static readonly ObjectPool<ClassifiedSpanVisitor> Pool = DefaultPool.
Create
(static () => new ClassifiedSpanVisitor(), poolSize: 5);
Language\RequiredAttributeDescriptorBuilder_Pooling.cs (1)
12
DefaultPool.
Create
(static () => new RequiredAttributeDescriptorBuilder());
Language\TagHelperDescriptorBuilder_Pooling.cs (1)
13
DefaultPool.
Create
(static () => new TagHelperDescriptorBuilder());
Language\TagMatchingRuleDescriptorBuilder_Pooling.cs (1)
12
DefaultPool.
Create
(static () => new TagMatchingRuleDescriptorBuilder());
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Extensions\RazorCodeDocumentExtensions_ClassifiedSpans.cs (1)
48
private static readonly ObjectPool<ClassifiedSpanVisitor> s_pool = DefaultPool.
Create
(static () => new ClassifiedSpanVisitor(), poolSize: 5);