forked from TeamInklings/Octobot
Replace "ToLower" with "ToLowerInvariant" to fix a missed warning (#71)
This commit is contained in:
parent
05fd343dce
commit
8f95e4cd2c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class BoolOption : Option<bool> {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool TryParseBool(string from, out bool value) {
|
private static bool TryParseBool(string from, out bool value) {
|
||||||
from = from.ToLower();
|
from = from.ToLowerInvariant();
|
||||||
value = false;
|
value = false;
|
||||||
switch (from) {
|
switch (from) {
|
||||||
case "true" or "1" or "y" or "yes" or "д" or "да":
|
case "true" or "1" or "y" or "yes" or "д" or "да":
|
||||||
|
|
Reference in a new issue