From bb2800cd03c7e4760ed1ae6135dbcb4bb2a67e37 Mon Sep 17 00:00:00 2001 From: Jaspalsinh Chauhan Date: Mon, 17 Aug 2015 10:26:07 +0530 Subject: [PATCH] Removed nameof for ArgumentNullException that is specific to C# 6.0 --- .../Shopify/ShopifyAuthenticationExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Owin.Security.Providers/Shopify/ShopifyAuthenticationExtensions.cs b/Owin.Security.Providers/Shopify/ShopifyAuthenticationExtensions.cs index 41a3689..fe74719 100644 --- a/Owin.Security.Providers/Shopify/ShopifyAuthenticationExtensions.cs +++ b/Owin.Security.Providers/Shopify/ShopifyAuthenticationExtensions.cs @@ -14,12 +14,12 @@ { if (null == app) { - throw new ArgumentNullException(nameof(app)); + throw new ArgumentNullException("app"); } if (null == options) { - throw new ArgumentNullException(nameof(options)); + throw new ArgumentNullException("options"); } app.Use(typeof(ShopifyAuthenticationMiddleware), app, options);