2 references to TryParse
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
src\Shared\RoslynUtils\ParsabilityHelper.cs (1)
85
return (Parsability.Parsable, ParsabilityMethod.
TryParse
);
StaticRouteHandlerModel\EndpointParameter.cs (1)
345
ParsabilityMethod.
TryParse
=> (string inputArgument, string outputArgument) => $$"""{{parameterType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)}}.TryParse({{inputArgument}}!, out var {{outputArgument}})""",