9 writes to IsAwaitable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
StaticRouteHandlerModel\Endpoint.cs (1)
37IsAwaitable = Response?.IsAwaitable == true;
StaticRouteHandlerModel\EndpointParameter.cs (8)
92endpoint.IsAwaitable = true; 141endpoint.IsAwaitable = true; 198endpoint.IsAwaitable = true; 205endpoint.IsAwaitable = true; 212endpoint.IsAwaitable = true; 219endpoint.IsAwaitable = true; 231endpoint.IsAwaitable = true; 247endpoint.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)