13 writes to
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (2)
116
ref var candidate = ref candidateSet
[
i];
217
ref var candidate = ref candidateSet
[
item.index];
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
PageLoaderMatcherPolicy.cs (1)
67
ref var candidate = ref candidates
[
i];
Microsoft.AspNetCore.Routing (1)
Matching\NegotiationMatcherPolicy.cs (1)
108
ref var candidate = ref candidates
[
i];
Microsoft.AspNetCore.Routing.Tests (9)
Matching\CandidateSetTest.cs (9)
33
ref var state = ref candidateSet
[
i];
62
ref var state = ref candidateSet
[
i];
95
ref var state = ref candidateSet
[
i];
137
ref var state = ref candidateSet
[
i];
187
ref var state = ref candidateSet
[
i];
230
ref var state = ref candidateSet
[
i];
244
ref var state = ref candidateSet
[
i];
287
ref var state = ref candidateSet
[
i];
358
ref var state = ref candidateSet
[
i];
16 references to
Microsoft.AspNetCore.Mvc.Core (2)
Routing\DynamicControllerEndpointMatcherPolicy.cs (2)
76
var endpoint = candidates
[
i].Endpoint;
77
var originalValues = candidates
[
i].Values!;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageLoaderMatcherPolicy.cs (3)
99
candidates.ReplaceEndpoint(index, compiled.Endpoint, candidates
[
index].Values);
108
var candidate = candidates
[
i];
116
candidates.ReplaceEndpoint(i, compiled.Endpoint, candidates
[
i].Values);
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (2)
78
var endpoint = candidates
[
i].Endpoint;
79
var originalValues = candidates
[
i].Values;
Microsoft.AspNetCore.Routing (5)
Matching\AcceptsMatcherPolicy.cs (1)
61
var metadata = candidates
[
i].Endpoint?.Metadata.GetMetadata<IAcceptsMetadata>();
Matching\HostMatcherPolicy.cs (1)
83
var hosts = candidates
[
i].Endpoint.Metadata.GetMetadata<IHostMetadata>()?.Hosts;
Matching\HttpMethodMatcherPolicy.cs (1)
99
var metadata = candidates
[
i].Endpoint?.Metadata.GetMetadata<IHttpMethodMetadata>();
Matching\NegotiationMatcherPolicy.cs (2)
161
bestEndpointQualitySoFar = GetMetadataQuality(candidates
[
currentIndex].Endpoint) ?? 1.0;
180
var endpointQuality = GetMetadataQuality(candidates
[
currentIndex].Endpoint) ?? 1.0;
Microsoft.AspNetCore.Routing.Tests (4)
Matching\CandidateSetTest.cs (4)
189
Assert.Equal(i - 1, candidateSet
[
i].Score);
232
Assert.Equal(i, candidateSet
[
i].Score);
246
Assert.Equal(i - 1, candidateSet
[
i].Score);
289
Assert.Equal(i, candidateSet
[
i].Score);