Fixed: Use Length/Count property instead of Enumerable.Count method

This commit is contained in:
Qstick
2020-10-02 14:05:34 -04:00
parent 088ffc34df
commit 0198c7a3b1
15 changed files with 26 additions and 27 deletions

View File

@@ -237,7 +237,7 @@ namespace NzbDrone.Core.Configuration
var valueHolder = parentContainer.Descendants(key).ToList();
if (valueHolder.Count() == 1)
if (valueHolder.Count == 1)
{
return valueHolder.First().Value.Trim();
}