2 writes to Values
Microsoft.AspNetCore.Routing (2)
Matching\CandidateState.cs (2)
17Values = null; 23Values = values;
31 references to Values
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (1)
219var routeData = new RouteData(candidate.Values!);
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
77var originalValues = candidates[i].Values!;
Microsoft.AspNetCore.Mvc.Core.Test (4)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (4)
155Assert.Null(candidates[0].Values); 191candidates[0].Values.OrderBy(kvp => kvp.Key), 269candidates[0].Values.OrderBy(kvp => kvp.Key), 369candidates[0].Values.OrderBy(kvp => kvp.Key),
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageLoaderMatcherPolicy.cs (3)
81candidates.ReplaceEndpoint(i, compiled.Result.Endpoint, candidate.Values); 99candidates.ReplaceEndpoint(index, compiled.Endpoint, candidates[index].Values); 116candidates.ReplaceEndpoint(i, compiled.Endpoint, candidates[i].Values);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
79var originalValues = candidates[i].Values;
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (4)
172Assert.Null(candidates[0].Values); 207candidates[0].Values.OrderBy(kvp => kvp.Key), 248candidates[0].Values.OrderBy(kvp => kvp.Key), 375candidates[0].Values.OrderBy(kvp => kvp.Key),
Microsoft.AspNetCore.Routing (6)
Matching\CandidateSet.cs (4)
148candidate = new CandidateState(candidate.Endpoint, candidate.Values, score); 236ReplaceEndpoint(index, endpoints[0], Candidates[index].Values); 242var values = Candidates[index].Values; 305Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset);
Matching\DefaultEndpointSelector.cs (2)
40httpContext.Request.RouteValues = state.Values!; 75values = state.Values;
Microsoft.AspNetCore.Routing.Tests (11)
Matching\CandidateSetTest.cs (5)
37Assert.Null(state.Values); 72Assert.Same(values, state.Values); 102Assert.Null(state.Values); 362Assert.NotNull(state.Values); 363Assert.Equal(i, state.Values["i"]);
Matching\DfaMatcherTest.cs (6)
656Assert.Null(cs[0].Values); 661Assert.Null(cs[1].Values); 702Assert.Empty(cs[0].Values); 707Assert.Empty(cs[1].Values); 749Assert.Empty(cs[0].Values); 754Assert.Empty(cs[1].Values);