6 references to InvalidParameterNameChars
Microsoft.AspNetCore.Routing (6)
Patterns\RoutePatternFactory.cs (5)
773
if (parameterName.AsSpan().IndexOfAny(RoutePatternParser.
InvalidParameterNameChars
) >= 0)
796
if (parameterName.AsSpan().IndexOfAny(RoutePatternParser.
InvalidParameterNameChars
) >= 0)
823
if (parameterName.AsSpan().IndexOfAny(RoutePatternParser.
InvalidParameterNameChars
) >= 0)
857
if (parameterName.AsSpan().IndexOfAny(RoutePatternParser.
InvalidParameterNameChars
) >= 0)
893
if (parameterName.AsSpan().IndexOfAny(RoutePatternParser.
InvalidParameterNameChars
) >= 0)
Patterns\RoutePatternParser.cs (1)
428
if (parameterName.Length == 0 || parameterName.AsSpan().IndexOfAny(
InvalidParameterNameChars
) >= 0)