Using 'nameof' operator instead of magic strings
This commit is contained in:
parent
ab3cc8bcc7
commit
7fcbefc86f
|
|
@ -27,7 +27,7 @@ namespace Microsoft.AspNet.Authentication
|
||||||
|
|
||||||
if (_validSubjectKeyIdentifiers.Count == 0)
|
if (_validSubjectKeyIdentifiers.Count == 0)
|
||||||
{
|
{
|
||||||
throw new ArgumentOutOfRangeException("validSubjectKeyIdentifiers");
|
throw new ArgumentOutOfRangeException(nameof(_validSubjectKeyIdentifiers));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue