From 8f95e4cd2c3fbc7a8937aa39c26aee2eb4fd4c7c Mon Sep 17 00:00:00 2001 From: Macintosh II <95250141+mctaylors@users.noreply.github.com> Date: Tue, 25 Jul 2023 19:20:09 +0300 Subject: [PATCH] Replace "ToLower" with "ToLowerInvariant" to fix a missed warning (#71) --- src/Data/Options/BoolOption.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Options/BoolOption.cs b/src/Data/Options/BoolOption.cs index 55b846e..e8be77a 100644 --- a/src/Data/Options/BoolOption.cs +++ b/src/Data/Options/BoolOption.cs @@ -19,7 +19,7 @@ public class BoolOption : Option { } private static bool TryParseBool(string from, out bool value) { - from = from.ToLower(); + from = from.ToLowerInvariant(); value = false; switch (from) { case "true" or "1" or "y" or "yes" or "д" or "да":