5 writes to IsParsable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
StaticRouteHandlerModel\EndpointParameter.cs (5)
73
IsParsable
= TryGetParsability(Type, wellKnownTypes, out var preferredTryParseInvocation);
80
IsParsable
= TryGetParsability(Type, wellKnownTypes, out var preferredTryParseInvocation);
87
IsParsable
= TryGetParsability(Type, wellKnownTypes, out var preferredTryParseInvocation);
123
IsParsable
= TryGetParsability(Type, wellKnownTypes, out var preferredTryParseInvocation);
242
IsParsable
= true;
5 references to IsParsable
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (3)
93
if (endpointParameter.IsArray && endpointParameter.
IsParsable
)
131
else if (endpointParameter.
IsParsable
)
419
private static string EmitParameterDiagnosticComment(this EndpointParameter endpointParameter) => $"// Endpoint Parameter: {endpointParameter.SymbolName} (Type = {endpointParameter.Type}, IsOptional = {endpointParameter.IsOptional}, IsParsable = {endpointParameter.
IsParsable
}, IsArray = {endpointParameter.IsArray}, Source = {endpointParameter.Source})";
StaticRouteHandlerModel\EndpointParameter.cs (1)
250
endpoint.EmitterContext.HasParsable |=
IsParsable
;
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (1)
395
var hasTryParse = parameter.
IsParsable
? "true" : "false";