Use nameof

This commit is contained in:
Keivan Beigi 2017-01-07 09:59:59 -08:00
commit cea6469ab8
No known key found for this signature in database
GPG key ID: C536675AC49003C0
11 changed files with 16 additions and 16 deletions

View file

@ -50,7 +50,7 @@ namespace NzbDrone.Core.Update
{
if (configFileProvider == null)
{
throw new ArgumentNullException("configFileProvider");
throw new ArgumentNullException(nameof(configFileProvider));
}
_checkUpdateService = checkUpdateService;
_appFolderInfo = appFolderInfo;