1 reference to MiddlewareAsyncNonTaskReturnStub
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
UseMiddlewareTest.cs (1)
58var exception = Assert.Throws<InvalidOperationException>(() => builder.UseMiddleware(typeof(MiddlewareAsyncNonTaskReturnStub)));