11 references to Default
Microsoft.AspNetCore.Razor.Utilities.Shared (3)
PooledObjects\ListPool`1.cs (2)
34=> Default.GetPooledObject(); 37=> Default.GetPooledObject(out list);
PooledObjects\PooledList`1.cs (1)
21: this(ListPool<T>.Default)
Microsoft.CodeAnalysis.Razor.Compiler (8)
Language\DefaultRazorTagHelperContextDiscoveryPhase.cs (6)
326var contributed = IsSourceDocument ? ListPool<TagHelperDescriptor>.Default.Get() : null; 362ListPool<TagHelperDescriptor>.Default.Return(contributed); 459_componentsWithoutNamespace ??= ListPool<TagHelperDescriptor>.Default.Get(); 466components = ListPool<TagHelperDescriptor>.Default.Get(); 487ListPool<TagHelperDescriptor>.Default.Return(_componentsWithoutNamespace); 493ListPool<TagHelperDescriptor>.Default.Return(components);
Language\Legacy\RoslynCSharpTokenizer.cs (2)
35private readonly List<(int position, SyntaxTokenParser.Result result, bool isOnlyWhitespaceOnLine)> _resultCache = ListPool<(int, SyntaxTokenParser.Result, bool)>.Default.Get(); 805ListPool<(int, SyntaxTokenParser.Result, bool)>.Default.Return(_resultCache);