2 writes to CatchAll
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcherBuilder.cs (2)
287parent.CatchAll = new DfaNode() 295parent.CatchAll.CatchAll = parent.CatchAll;
18 references to CatchAll
Microsoft.AspNetCore.Routing (18)
Internal\DfaGraphWriter.cs (3)
86if (node.CatchAll != null && node.Parameters != node.CatchAll) 88writer.WriteLine($"{label} -> {visited[node.CatchAll]} [label=\"/**\"]");
Matching\DfaMatcherBuilder.cs (12)
285if (parent.CatchAll == null) 294parent.CatchAll.Parameters = parent.CatchAll; 295parent.CatchAll.CatchAll = parent.CatchAll; 298parent.CatchAll.AddMatch(endpoint); 609node.CatchAll != null && 610ReferenceEquals(node.Parameters, node.CatchAll)) 616else if (node.Parameters != null && node.CatchAll != null) 621currentExitDestination = Transition(node.CatchAll); 628else if (node.CatchAll != null) 631currentExitDestination = currentDefaultDestination = Transition(node.CatchAll);
Matching\DfaNode.cs (3)
97if (CatchAll != null && !ReferenceEquals(this, CatchAll)) 99CatchAll.Visit(visitor);