3 instantiations of HttpMethodDestinationsLookup
Microsoft.AspNetCore.Routing (2)
Matching\HttpMethodMatcherPolicy.cs (2)
360new HttpMethodDestinationsLookup(destinations ?? new(), exitDestination), 361corsPreflightDestinations != null ? new HttpMethodDestinationsLookup(corsPreflightDestinations, corsPreflightExitDestination) : null);
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Matching\HttpMethodPolicyJumpTableBenchmark.cs (1)
51return new HttpMethodDestinationsLookup(destinations, exitDestination: 0);
6 references to HttpMethodDestinationsLookup
Microsoft.AspNetCore.Routing (4)
Matching\HttpMethodDictionaryPolicyJumpTable.cs (4)
10private readonly HttpMethodDestinationsLookup _httpMethodDestinations; 11private readonly HttpMethodDestinationsLookup? _corsHttpMethodDestinations; 14HttpMethodDestinationsLookup destinations, 15HttpMethodDestinationsLookup? corsPreflightDestinations)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Matching\HttpMethodPolicyJumpTableBenchmark.cs (2)
23var lookup = CreateLookup(_destinations); 31private static HttpMethodDestinationsLookup CreateLookup(Dictionary<string, int> extra)