2 writes to Matches
Microsoft.AspNetCore.Routing (2)
Matching\DfaNode.cs (2)
62
Matches
= new List<Endpoint>();
72
Matches
= new List<Endpoint>(endpoints);
15 references to Matches
Microsoft.AspNetCore.Routing (15)
Matching\DfaMatcherBuilder.cs (10)
587
node.
Matches
?.Sort(_comparer);
645
var candidates = CreateCandidates(node.
Matches
);
650
if (node.
Matches
?.Count > 0)
655
if (endpointSelectorPolicy.AppliesToEndpoints(node.
Matches
))
879
if (node.
Matches
== null || node.
Matches
.Count == 0)
886
node.
Matches
.Sort(_comparer);
911
if (!nodeBuilder.AppliesToEndpoints(parent.
Matches
?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>()))
921
var edges = nodeBuilder.GetEdges(parent.
Matches
?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>());
945
parent.
Matches
?.Clear();
Matching\DfaNode.cs (5)
60
if (
Matches
== null)
65
Matches
.Add(endpoint);
70
if (
Matches
== null)
76
Matches
.AddRange(endpoints);
120
builder.Append(
Matches
?.Count ?? 0);