From c2b2b5010db6ac597e2f73d25645261d4b64431b Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Thu, 11 Jun 2020 13:04:01 +0200 Subject: [PATCH] Review + build fix --- src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs | 3 ++- src/Umbraco.Web/Umbraco.Web.csproj | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs index 60f7b95b53..76d773d1da 100644 --- a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs +++ b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs @@ -144,7 +144,8 @@ namespace Umbraco.Extensions var methodParams = ExpressionHelper.GetMethodParams(methodSelector); if (method == null) { - throw new MissingMethodException("Could not find the method " + methodSelector + " on type " + typeof(T) + " or the result "); + throw new MissingMethodException( + $"Could not find the method {methodSelector} on type {typeof(T)} or the result "); } if (methodParams.Any() == false) diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index cced16fc93..22da135dd3 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -424,9 +424,6 @@ - - -