27 references to IsCatchAll
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\RoutePatternParserTests.cs (1)
210Assert.True(routeParameter.IsCatchAll == parsedRoutePattern.IsCatchAll, "IsCatchAll");
Microsoft.AspNetCore.Mvc.Core (1)
Routing\RoutePatternWriter.cs (1)
37if (parameterPart.IsCatchAll)
Microsoft.AspNetCore.Routing (16)
Matching\DfaMatcherBuilder.cs (5)
266else if (segment.IsSimple && parameterPart != null && parameterPart.IsCatchAll) 524if (lastSegment.IsSimple && lastSegment.Parts[0] is RoutePatternParameterPart parameterPart && parameterPart.IsCatchAll) 780var hasDefaultValue = parameterPart.Default != null || parameterPart.IsCatchAll; 790else if (parameterPart.IsCatchAll) 867!parameterPart.IsCatchAll &&
Patterns\RoutePatternMatcher.cs (4)
93else if (pathSegment.IsSimple && pathSegment.Parts[0] is RoutePatternParameterPart parameter && parameter.IsCatchAll) 128if (parameter.IsCatchAll) 175if (part is RoutePatternParameterPart parameter && (parameter.IsCatchAll || _hasDefaultValue[i])) 249if (pathSegment.IsSimple && pathSegment.Parts[0] is RoutePatternParameterPart parameter && parameter.IsCatchAll)
Patterns\RoutePatternParameterPart.cs (1)
88if (IsCatchAll)
Patterns\RoutePatternParser.cs (2)
326&& parameter.IsCatchAll && 344if (part is RoutePatternParameterPart parameter && parameter.IsCatchAll && parts.Count > 1)
Template\RoutePrecedence.cs (2)
192var digit = parameterPart.IsCatchAll ? 1 : 3; 272var digit = parameterPart.IsCatchAll ? 5 : 3;
Template\TemplateBinder.cs (1)
333else if (parameter.IsOptional || parameter.IsCatchAll)
Template\TemplatePart.cs (1)
41IsCatchAll = parameter.IsCatchAll;
Microsoft.AspNetCore.Routing.Tests (9)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
766Assert.True(routeEndpointBuilder.RoutePattern.Parameters[0].IsCatchAll);
Patterns\InlineRouteParameterParserTest.cs (8)
945Assert.True(parameterPart.IsCatchAll); 958Assert.True(parameterPart.IsCatchAll); 976Assert.True(parameterPart.IsCatchAll); 994Assert.True(parameterPart.IsCatchAll); 1011Assert.True(parameterPart.IsCatchAll); 1023Assert.True(parameterPart.IsCatchAll); 1040Assert.True(parameterPart.IsCatchAll); 1057Assert.True(parameterPart.IsCatchAll);