5 writes to PreferredTryParseInvocation
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
StaticRouteHandlerModel\EndpointParameter.cs (5)
74
PreferredTryParseInvocation
= preferredTryParseInvocation;
81
PreferredTryParseInvocation
= preferredTryParseInvocation;
88
PreferredTryParseInvocation
= preferredTryParseInvocation;
124
PreferredTryParseInvocation
= preferredTryParseInvocation;
243
PreferredTryParseInvocation
= preferredTryParseInvocation;
4 references to PreferredTryParseInvocation
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (3)
105
codeWriter.WriteLine($$"""if (!{{endpointParameter.
PreferredTryParseInvocation
("element", "parsed_element")}})""");
142
codeWriter.WriteLine($"""if ({endpointParameter.
PreferredTryParseInvocation
(temp_argument, temp_argument_parsed_non_nullable)})""");
158
codeWriter.WriteLine($$"""if (!{{endpointParameter.
PreferredTryParseInvocation
(temp_argument, output_argument)}})""");
StaticRouteHandlerModel\EndpointParameter.cs (1)
295
[MemberNotNullWhen(true, nameof(
PreferredTryParseInvocation
))]