From ebedf63c7187c73bbad64cd99828327d5a16b539 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 26 Apr 2017 18:59:03 +1000 Subject: [PATCH] remove c# 6 feature --- OurUmbraco/Repository/Services/PackageRepositoryService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OurUmbraco/Repository/Services/PackageRepositoryService.cs b/OurUmbraco/Repository/Services/PackageRepositoryService.cs index 7ef1e240..f1c44acf 100644 --- a/OurUmbraco/Repository/Services/PackageRepositoryService.cs +++ b/OurUmbraco/Repository/Services/PackageRepositoryService.cs @@ -156,7 +156,7 @@ namespace OurUmbraco.Repository.Services /// public PackageDetails GetDetails(Guid id, System.Version version) { - if (version == null) throw new ArgumentNullException(nameof(version)); + if (version == null) throw new ArgumentNullException("version"); // [LK:2016-06-13@CGRT16] We're using XPath as we experienced issues with query Examine for GUIDs, // (it might worth but we were up against the clock). @@ -201,7 +201,7 @@ namespace OurUmbraco.Repository.Services /// private PackageDetails MapContentToPackageDetails(IPublishedContent content, System.Version currentUmbracoVersion) { - if (currentUmbracoVersion == null) throw new ArgumentNullException(nameof(currentUmbracoVersion)); + if (currentUmbracoVersion == null) throw new ArgumentNullException("currentUmbracoVersion"); if (content == null) return null; var package = MapContentToPackage(content);