2 writes to _candidateCache
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcherBuilder.cs (2)
575_candidateCache = new Dictionary<Endpoint, Candidate>(_endpoints.Count, ReferenceEqualityComparer.Instance); 582_candidateCache = null;
3 references to _candidateCache
Microsoft.AspNetCore.Routing (3)
Matching\DfaMatcherBuilder.cs (3)
750if (_candidateCache is not null && _candidateCache.TryGetValue(endpoint, out var cached)) 863_candidateCache?.Add(endpoint, candidate);