9 writes to IsAwaitable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
StaticRouteHandlerModel\Endpoint.cs (1)
37IsAwaitable = Response?.IsAwaitable == true;
StaticRouteHandlerModel\EndpointParameter.cs (8)
93endpoint.IsAwaitable = true; 142endpoint.IsAwaitable = true; 199endpoint.IsAwaitable = true; 206endpoint.IsAwaitable = true; 213endpoint.IsAwaitable = true; 220endpoint.IsAwaitable = true; 232endpoint.IsAwaitable = true; 248endpoint.IsAwaitable = true;
4 references to IsAwaitable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (4)
70codeWriter.WriteLine(endpoint.IsAwaitable ? "async Task RequestHandler(HttpContext httpContext)" : "Task RequestHandler(HttpContext httpContext)"); 82codeWriter.WriteLine(endpoint.IsAwaitable ? "return;" : "return Task.CompletedTask;"); 109endpoint.Response.EmitResponseWritingCall(codeWriter, endpoint.IsAwaitable); 111else if (!endpoint.IsAwaitable)