4 references to AsyncEnumerable
Microsoft.AspNetCore.Http.Extensions.Tests (4)
HttpResponseJsonExtensionsTests.cs (4)
321
await context.Response.WriteAsJsonAsync(
AsyncEnumerable
());
355
await context.Response.WriteAsJsonAsync(
AsyncEnumerable
(), typeof(IAsyncEnumerable<int>));
389
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => context.Response.WriteAsJsonAsync(
AsyncEnumerable
(), typeof(IAsyncEnumerable<int>), cts.Token));
423
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => context.Response.WriteAsJsonAsync(
AsyncEnumerable
(), cts.Token));