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