2 instantiations of RoutePatternNameParameterPartNode
Microsoft.AspNetCore.App.Analyzers (2)
Infrastructure\RoutePattern\RoutePatternParser.cs (2)
523
parts.Add(new
RoutePatternNameParameterPartNode
(parameterName.Value));
529
parts.Add(new
RoutePatternNameParameterPartNode
(
8 references to RoutePatternNameParameterPartNode
Microsoft.AspNetCore.App.Analyzers (8)
Infrastructure\RoutePattern\IRoutePatternNodeVisitor.cs (1)
16
void Visit(
RoutePatternNameParameterPartNode
node);
Infrastructure\RoutePattern\RoutePatternParser.cs (2)
236
var
parameterNameNode = (
RoutePatternNameParameterPartNode
)parameterPart.Node;
Mvc\DetectAmbiguousActionRoutes.cs (1)
79
if (parameterNode.ParameterParts[k] is
RoutePatternNameParameterPartNode
namePartNode)
RouteEmbeddedLanguage\RoutePatternClassifier.cs (1)
95
public void Visit(
RoutePatternNameParameterPartNode
node)
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (3)
44
var
node = FindParameterNode(routePattern.Root, virtualChar.Value);
108
private static
RoutePatternNameParameterPartNode
? FindParameterNode(RoutePatternNode node, VirtualChar ch)
109
=> FindNode<
RoutePatternNameParameterPartNode
>(node, ch, (parameter, c) => parameter.ParameterNameToken.VirtualChars.Contains(c));