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