12 references to IsLiteral
Microsoft.AspNetCore.Routing (10)
Patterns\RoutePatternMatcher.cs (5)
121
if (part.
IsLiteral
|| part.IsSeparator)
207
if (pathSegment.Parts[0].
IsLiteral
)
361
Debug.Assert(part.
IsLiteral
|| part.IsSeparator);
378
if (part.
IsLiteral
)
448
if (lastLiteral.
IsLiteral
)
Patterns\RoutePatternParser.cs (1)
364
if (!previousPart.
IsLiteral
&& !previousPart.IsSeparator)
Template\RoutePrecedence.cs (2)
185
if (part.
IsLiteral
)
259
if (part.
IsLiteral
)
Template\TemplatePart.cs (2)
30
IsLiteral = other.
IsLiteral
|| other.IsSeparator;
33
if (other.
IsLiteral
&& other is RoutePatternLiteralPart literal)
Microsoft.AspNetCore.Routing.Tests (2)
Patterns\RoutePatternParserTest.cs (2)
704
if (x.
IsLiteral
&& y.
IsLiteral
)