1 instantiation of RoutePatternTree
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\RoutePattern\RoutePatternParser.cs (1)
81
return new
RoutePatternTree
(_lexer.Text, root, diagnostics.ToImmutable(), routeParameters.ToImmutable());
23 references to RoutePatternTree
Microsoft.AspNetCore.App.Analyzers (22)
Infrastructure\AmbiguousRoutePatternComparer.cs (4)
15
internal sealed class AmbiguousRoutePatternComparer : IEqualityComparer<
RoutePatternTree
>
19
public bool Equals(
RoutePatternTree
x,
RoutePatternTree
y)
153
public int GetHashCode(
RoutePatternTree
obj)
Infrastructure\RoutePattern\RoutePatternParser.cs (2)
50
public static
RoutePatternTree
? TryParse(VirtualCharSequence text, RoutePatternOptions routePatternOptions)
61
private
RoutePatternTree
ParseTree()
Infrastructure\RouteUsageCache.cs (1)
66
var
tree = RoutePatternParser.TryParse(virtualChars, usageContext.RoutePatternOptions);
Infrastructure\RouteUsageModel.cs (1)
11
public
RoutePatternTree
RoutePattern { get; init; } = default!;
Mvc\DetectAmbiguousActionRoutes.cs (4)
21
private static void DetectAmbiguousActionRoutes(SymbolAnalysisContext context, WellKnownTypes wellKnownTypes,
RoutePatternTree
? controllerRoutePattern, List<ActionRoute> actionRoutes)
56
private static bool HasActionToken(
RoutePatternTree
routePattern)
102
public
RoutePatternTree
RoutePattern { get; }
108
public ActionRouteGroupKey(IMethodSymbol actionSymbol,
RoutePatternTree
routePattern, ImmutableArray<string> httpMethods, bool controllerHasActionToken, WellKnownTypes wellKnownTypes)
Mvc\MvcAnalyzer.cs (1)
70
RoutePatternTree
? controllerRoutePattern = null;
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
482
public readonly
RoutePatternTree
Tree;
496
RoutePatternTree
tree)
RouteEmbeddedLanguage\RoutePatternBraceMatcher.cs (4)
31
private static AspNetCoreBraceMatchingResult? GetMatchingBraces(
RoutePatternTree
tree, int position)
49
private static AspNetCoreBraceMatchingResult? FindParameterBraces(
RoutePatternTree
tree, VirtualChar ch)
55
private static AspNetCoreBraceMatchingResult? FindPolicyParens(
RoutePatternTree
tree, VirtualChar ch)
61
private static AspNetCoreBraceMatchingResult? FindReplacementTokenBrackets(
RoutePatternTree
tree, VirtualChar ch)
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
37
var
routePattern = routeUsage.RoutePattern;
RouteHandlers\DetectAmbiguousRoutes.cs (2)
148
public
RoutePatternTree
RoutePattern { get; }
151
public MapOperationGroupKey(IOperation? builder, IOperation parentOperation,
RoutePatternTree
routePattern, ImmutableArray<string> httpMethods)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Infrastructure\AmbiguousRoutePatternComparerTests.cs (1)
96
var
tree = RoutePatternParser.TryParse(allChars, RoutePatternOptions.MvcAttributeRoute);