From 7fcbefc86f89ec723327d14db7616850e5822c22 Mon Sep 17 00:00:00 2001 From: Hisham Abdullah Bin Ateya Date: Thu, 11 Jun 2015 23:18:00 +0300 Subject: [PATCH] Using 'nameof' operator instead of magic strings --- .../CertificateSubjectKeyIdentifierValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Authentication/CertificateSubjectKeyIdentifierValidator.cs b/src/Microsoft.AspNet.Authentication/CertificateSubjectKeyIdentifierValidator.cs index 3e19a3e686..a4705a9546 100644 --- a/src/Microsoft.AspNet.Authentication/CertificateSubjectKeyIdentifierValidator.cs +++ b/src/Microsoft.AspNet.Authentication/CertificateSubjectKeyIdentifierValidator.cs @@ -27,7 +27,7 @@ namespace Microsoft.AspNet.Authentication if (_validSubjectKeyIdentifiers.Count == 0) { - throw new ArgumentOutOfRangeException("validSubjectKeyIdentifiers"); + throw new ArgumentOutOfRangeException(nameof(_validSubjectKeyIdentifiers)); } }