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

@@ -46,7 +46,7 @@ namespace NzbDrone.Common.Test.Http
TestLogger.Info($"{candidates.Length} TestSites available.");
_httpBinSleep = _httpBinHosts.Count() < 2 ? 100 : 10;
_httpBinSleep = _httpBinHosts.Length < 2 ? 100 : 10;
}
private bool IsTestSiteAvailable(string site)