2 writes to Score
Microsoft.AspNetCore.Routing (2)
Matching\CandidateState.cs (2)
16Score = score; 24Score = score;
14 references to Score
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (2)
117if (score != null && score != candidate.Score) 130score = candidate.Score;
Microsoft.AspNetCore.Routing (12)
Matching\CandidateSet.cs (6)
34/// <param name="scores">The list of endpoint scores. <see cref="CandidateState.Score"/>.</param> 122return candidate.Score >= 0; 146var originalScore = candidate.Score; 175Candidates[index] = new CandidateState(endpoint!, values, Candidates[index].Score); 305Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset); 317var score = Candidates[index].Score;
Matching\DefaultEndpointSelector.cs (3)
76foundScore = state.Score; 78else if (foundScore < state.Score) 86else if (foundScore == state.Score)
Matching\NegotiationMatcherPolicy.cs (3)
118var candidateScore = candidates[i].Score; 141bestMatchScore = candidates[bestMatchIndex].Score; 153if (bestMatchIndex >= 0 && candidates[i].Score < bestMatchScore)