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