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)
750
if (
_candidateCache
is not null &&
_candidateCache
.TryGetValue(endpoint, out var cached))
863
_candidateCache
?.Add(endpoint, candidate);