4 writes to Candidates
Microsoft.AspNetCore.Routing (4)
Matching\CandidateSet.cs (4)
46
Candidates
= new CandidateState[endpoints.Length];
56
Candidates
= new CandidateState[candidates.Length];
65
Candidates
= candidates;
247
Candidates
= candidates;
16 references to Candidates
Microsoft.AspNetCore.Routing (16)
Matching\CandidateSet.cs (15)
49
Candidates
[i] = new CandidateState(endpoints[i], values[i], scores[i]);
59
Candidates
[i] = new CandidateState(candidates[i].Endpoint, candidates[i].Score);
71
public int Count =>
Candidates
.Length;
96
return ref
Candidates
[index];
117
return IsValidCandidate(ref
Candidates
[index]);
140
ref var original = ref
Candidates
[index];
175
Candidates
[index] = new CandidateState(endpoint!, values,
Candidates
[index].Score);
236
ReplaceEndpoint(index, endpoints[0],
Candidates
[index].Values);
242
var values =
Candidates
[index].Values;
245
var original =
Candidates
;
300
Candidates
[i + index] = new CandidateState(buffer[i], values, score + scoreOffset);
305
Candidates
[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset);
317
var score =
Candidates
[index].Score;
326
var candidates =
Candidates
;
Matching\DefaultEndpointSelector.cs (1)
18
Select(httpContext, candidateSet.
Candidates
);