Using 'nameof' operator instead of magic strings

This commit is contained in:
Hisham Abdullah Bin Ateya 2015-06-11 23:18:00 +03:00 committed by Chris R
parent ab3cc8bcc7
commit 7fcbefc86f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace Microsoft.AspNet.Authentication
if (_validSubjectKeyIdentifiers.Count == 0)
{
throw new ArgumentOutOfRangeException("validSubjectKeyIdentifiers");
throw new ArgumentOutOfRangeException(nameof(_validSubjectKeyIdentifiers));
}
}