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