diff --git a/test/Microsoft.AspNetCore.Routing.Performance/RoutingBenchmark.cs b/test/Microsoft.AspNetCore.Routing.Performance/RoutingBenchmark.cs index 16c869cdf4..303fb5e811 100644 --- a/test/Microsoft.AspNetCore.Routing.Performance/RoutingBenchmark.cs +++ b/test/Microsoft.AspNetCore.Routing.Performance/RoutingBenchmark.cs @@ -35,7 +35,7 @@ namespace Microsoft.AspNetCore.Routing.Performance NullLoggerFactory.Instance, UrlEncoder.Default, new DefaultObjectPool(new UriBuilderContextPooledObjectPolicy(UrlEncoder.Default)), - new DefaultInlineConstraintResolver(new OptionsManager(Enumerable.Empty>()))); + new DefaultInlineConstraintResolver(new OptionsManager(new OptionsFactory(Enumerable.Empty>(), Enumerable.Empty>())))); treeBuilder.MapInbound(handler, TemplateParser.Parse("api/Widgets"), "default", 0); treeBuilder.MapInbound(handler, TemplateParser.Parse("api/Widgets/{id}"), "default", 0);