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