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)
600node.Matches?.Sort(_comparer); 658var candidates = CreateCandidates(node.Matches); 663if (node.Matches?.Count > 0) 668if (endpointSelectorPolicy.AppliesToEndpoints(node.Matches)) 927if (node.Matches == null || node.Matches.Count == 0) 934node.Matches.Sort(_comparer); 959if (!nodeBuilder.AppliesToEndpoints(parent.Matches ?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>())) 969var edges = nodeBuilder.GetEdges(parent.Matches ?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>()); 993parent.Matches?.Clear();
Matching\DfaNode.cs (5)
60if (Matches == null) 65Matches.Add(endpoint); 70if (Matches == null) 76Matches.AddRange(endpoints); 120builder.Append(Matches?.Count ?? 0);