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