Use nameof

This commit is contained in:
Keivan Beigi
2017-01-07 09:59:59 -08:00
parent ced7a7dce2
commit cea6469ab8
11 changed files with 16 additions and 16 deletions
@@ -50,7 +50,7 @@ namespace NzbDrone.Core.Update
{
if (configFileProvider == null)
{
throw new ArgumentNullException("configFileProvider");
throw new ArgumentNullException(nameof(configFileProvider));
}
_checkUpdateService = checkUpdateService;
_appFolderInfo = appFolderInfo;