<PackageReference Include="System.Linq.Async" Version="5.1.0" />

System.Linq.Utilities

static class Utilities
namespace System.Linq { internal static class Utilities { public static ValueTask AddRangeAsync<[System.Runtime.CompilerServices.Nullable(2)] T>(this List<T> list, IAsyncEnumerable<T> collection, CancellationToken cancellationToken); } } namespace System.Collections.Generic { [NullableContext(1)] [Nullable(0)] internal static class AsyncEnumerableHelpers { [NullableContext(0)] internal struct ArrayWithLength<[Nullable(2)] T> { [Nullable(1)] public T[] Array; public int Length; } [AsyncStateMachine(typeof(<ToArray>d__0<>))] [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1, 1 })] internal static ValueTask<T[]> ToArray<[System.Runtime.CompilerServices.Nullable(2)] T>(IAsyncEnumerable<T> source, CancellationToken cancellationToken); [AsyncStateMachine(typeof(<ToArrayWithLength>d__1<>))] [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 0, 1 })] internal static ValueTask<ArrayWithLength<T>> ToArrayWithLength<[System.Runtime.CompilerServices.Nullable(2)] T>(IAsyncEnumerable<T> source, CancellationToken cancellationToken); } }