5 references to Literal
Microsoft.AspNetCore.App.Analyzers (5)
Infrastructure\RoutePattern\RoutePatternLexer.cs (1)
140
var token = CreateToken(RoutePatternKind.
Literal
, GetSubPatternToCurrentPos(start));
Infrastructure\RoutePattern\RoutePatternNodes.cs (2)
144
: base(RoutePatternKind.
Literal
)
146
Debug.Assert(literalToken.Kind == RoutePatternKind.
Literal
);
Infrastructure\RoutePattern\RoutePatternParser.cs (2)
92
segmentPart?.Kind == RoutePatternKind.
Literal
)
189
if (previousNode.Kind != RoutePatternKind.
Literal
|| ((RoutePatternLiteralNode)previousNode).LiteralToken.Value!.ToString() != ".")