9 writes to IsAwaitable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
StaticRouteHandlerModel\Endpoint.cs (1)
37
IsAwaitable
= Response?.IsAwaitable == true;
StaticRouteHandlerModel\EndpointParameter.cs (8)
92
endpoint.
IsAwaitable
= true;
141
endpoint.
IsAwaitable
= true;
198
endpoint.
IsAwaitable
= true;
205
endpoint.
IsAwaitable
= true;
212
endpoint.
IsAwaitable
= true;
219
endpoint.
IsAwaitable
= true;
231
endpoint.
IsAwaitable
= true;
247
endpoint.
IsAwaitable
= true;
4 references to IsAwaitable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (4)
70
codeWriter.WriteLine(endpoint.
IsAwaitable
? "async Task RequestHandler(HttpContext httpContext)" : "Task RequestHandler(HttpContext httpContext)");
82
codeWriter.WriteLine(endpoint.
IsAwaitable
? "return;" : "return Task.CompletedTask;");
109
endpoint.Response.EmitResponseWritingCall(codeWriter, endpoint.
IsAwaitable
);
111
else if (!endpoint.
IsAwaitable
)