Fixes #12834
This commit is contained in:
parent
27996712af
commit
698a343128
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing
|
||||||
{
|
{
|
||||||
if (context == null)
|
if (context == null)
|
||||||
{
|
{
|
||||||
throw new ArgumentNullException(Resources.ArgumentCannotBeNullOrEmpty, (nameof(context)));
|
throw new ArgumentNullException(nameof(context));
|
||||||
}
|
}
|
||||||
|
|
||||||
var httpContext = context.HttpContext;
|
var httpContext = context.HttpContext;
|
||||||
|
|
@ -69,4 +69,4 @@ namespace Microsoft.AspNetCore.Mvc.Routing
|
||||||
return urlHelper;
|
return urlHelper;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue