Inline 'out' variable declarations

(cherry picked from commit 281add47de1d3940990156c841362125dea9cc7d)
This commit is contained in:
Bogdan
2023-05-23 13:48:37 +03:00
parent f54212a809
commit 0509335387
35 changed files with 68 additions and 160 deletions

View File

@@ -121,8 +121,7 @@ namespace NzbDrone.Core.Configuration
continue;
}
object currentValue;
allWithDefaults.TryGetValue(configValue.Key, out currentValue);
allWithDefaults.TryGetValue(configValue.Key, out var currentValue);
if (currentValue == null)
{
continue;