Use static lambdas wherever possible

Thanks Rider
This commit is contained in:
Archi
2021-09-27 21:33:52 +02:00
parent f2d3a2a894
commit 7e9e90764b
39 changed files with 236 additions and 234 deletions

View File

@@ -141,7 +141,7 @@ namespace ArchiSteamFarm.IPC.Integration {
return (HttpStatusCode.Unauthorized, true);
}
string? inputPassword = passwords.FirstOrDefault(password => !string.IsNullOrEmpty(password));
string? inputPassword = passwords.FirstOrDefault(static password => !string.IsNullOrEmpty(password));
if (string.IsNullOrEmpty(inputPassword)) {
return (HttpStatusCode.Unauthorized, true);