diff --git a/build/dependencies.props b/build/dependencies.props
index 22824154bd..97da37f7e6 100644
--- a/build/dependencies.props
+++ b/build/dependencies.props
@@ -48,8 +48,8 @@
2.2.0-preview3-35252
2.2.0-preview3-35252
2.2.0-preview3-35252
- 2.2.0-a-preview3-outbound-parameter-tranformer-16996
- 2.2.0-a-preview3-outbound-parameter-tranformer-16996
+ 2.2.0-a-preview3-ambientvalues-17006
+ 2.2.0-a-preview3-ambientvalues-17006
2.2.0-preview3-35252
2.2.0-preview3-35252
2.2.0-preview3-35252
diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/EndpointRoutingUrlHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/EndpointRoutingUrlHelper.cs
index adc94a7d8e..528d6e2efe 100644
--- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/EndpointRoutingUrlHelper.cs
+++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/EndpointRoutingUrlHelper.cs
@@ -85,7 +85,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing
ActionContext.HttpContext,
routeName: null,
values,
- new FragmentString(urlActionContext.Fragment == null ? null : "#" + urlActionContext.Fragment));
+ fragment: new FragmentString(urlActionContext.Fragment == null ? null : "#" + urlActionContext.Fragment));
return GenerateUrl(urlActionContext.Protocol, urlActionContext.Host, path);
}
@@ -101,7 +101,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing
ActionContext.HttpContext,
routeContext.RouteName,
routeContext.Values,
- new FragmentString(routeContext.Fragment == null ? null : "#" + routeContext.Fragment));
+ fragment: new FragmentString(routeContext.Fragment == null ? null : "#" + routeContext.Fragment));
return GenerateUrl(routeContext.Protocol, routeContext.Host, path);
}
}