Change all instances of ToLower() to ToLowerInvariant()

This commit is contained in:
Mustafa Alperen Seki
2020-04-17 15:00:36 +03:00
committed by atlimit8
parent 0a9eb1ff83
commit 5b34af0f12
4 changed files with 13 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ namespace OpenRA.Mods.Common.Lint
if (value == null)
continue;
if (!dict.ContainsKey(value.ToLower()))
if (!dict.ContainsKey(value.ToLowerInvariant()))
emitError("{0}.{1}.{2}: Missing weapon `{3}`."
.F(actorInfo.Name, traitInfo.GetType().Name, fieldInfo.Name, value));
}
@@ -110,7 +110,7 @@ namespace OpenRA.Mods.Common.Lint
if (value == null)
continue;
if (!dict.ContainsKey(value.ToLower()))
if (!dict.ContainsKey(value.ToLowerInvariant()))
emitError("{0}.{1}.{2}: Missing voice `{3}`."
.F(actorInfo.Name, traitInfo.GetType().Name, fieldInfo.Name, value));
}