2 writes to Score
Microsoft.AspNetCore.Routing (2)
Matching\Candidate.cs (2)
59
Score
= 0;
74
Score
= score;
9 references to Score
Microsoft.AspNetCore.Routing (2)
Matching\CandidateSet.cs (1)
59
Candidates[i] = new CandidateState(candidates[i].Endpoint, candidates[i].
Score
);
Matching\DfaMatcher.cs (1)
122
state = new CandidateState(candidate.Endpoint, candidate.
Score
);
Microsoft.AspNetCore.Routing.Tests (7)
Matching\CandidateSetTest.cs (1)
36
Assert.Equal(candidates[i].
Score
, state.Score);
Matching\DfaMatcherBuilderTest.cs (6)
3491
c => Assert.Equal(0, c.
Score
),
3492
c => Assert.Equal(0, c.
Score
),
3493
c => Assert.Equal(1, c.
Score
),
3494
c => Assert.Equal(2, c.
Score
),
3495
c => Assert.Equal(3, c.
Score
),
3496
c => Assert.Equal(3, c.
Score
));