1 instantiation of PooledArray
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
BufferExtensions.cs (1)
43=> new(pool, minimumLength, clearOnReturn);
21 references to PooledArray
Microsoft.AspNetCore.Razor.Utilities.Shared (14)
BufferExtensions.cs (8)
23public static PooledArray<T> GetPooledArray<T>(this ArrayPool<T> pool, int minimumLength) 42public static PooledArray<T> GetPooledArray<T>(this ArrayPool<T> pool, int minimumLength, bool clearOnReturn) 61public static PooledArray<T> GetPooledArray<T>(this ArrayPool<T> pool, int minimumLength, out T[] array) 83public static PooledArray<T> GetPooledArray<T>(this ArrayPool<T> pool, int minimumLength, bool clearOnReturn, out T[] array) 85var result = pool.GetPooledArray(minimumLength, clearOnReturn); 104public static PooledArray<T> GetPooledArraySpan<T>(this ArrayPool<T> pool, int minimumLength, out Span<T> span) 124public static PooledArray<T> GetPooledArraySpan<T>(this ArrayPool<T> pool, int minimumLength, bool clearOnReturn, out Span<T> span) 126var result = pool.GetPooledArray(minimumLength, clearOnReturn);
EnumerableExtensions.cs (1)
578using var keys = SortKey<TKey>.GetPooledArray(minimumLength: length);
ImmutableArrayExtensions.cs (1)
1249using var keys = SortKey<TKey>.GetPooledArray(minimumLength: length);
ImmutableArrayExtensions_Unsafe.cs (1)
183using var keys = SortKey<TKey>.GetPooledArray(minimumLength: length);
PooledObjects\PooledArray`1.cs (1)
20/// Returns a non-null array until <see cref="PooledArray{T}"/> is disposed.
ReadOnlyListExtensions.cs (1)
1465using var keys = SortKey<TKey>.GetPooledArray(minimumLength: length);
Utilities\SortKey`1.cs (1)
11public static PooledArray<SortKey<T>> GetPooledArray(int minimumLength)
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
572using var _ = ArrayPool<SyntaxTokenList>.Shared.GetPooledArraySpan(5, out var tokenLists);
Language\TagHelperCollection_Factories.cs (5)
183using var _ = CollectMergeableCollections(collections, out var mergeableCollections); 192static PooledArray<TagHelperCollection> CollectMergeableCollections( 195var pooledArray = ArrayPool<TagHelperCollection>.Shared.GetPooledArraySpan( 278using var _ = ArrayPool<TagHelperCollection>.Shared.GetPooledArraySpan( 333using var _ = ArrayPool<TagHelperCollection>.Shared.GetPooledArraySpan(
Language\TagHelperDiscoverer.cs (1)
79using var _ = ArrayPool<TagHelperProducer>.Shared.GetPooledArraySpan(