Added a new helper method - a temporary fix
(cherry picked from commit d83e579dfe)
This commit is contained in:
@@ -637,6 +637,11 @@ namespace OpenRA
|
||||
{
|
||||
return new LineSplitEnumerator(str.AsSpan(), separator);
|
||||
}
|
||||
|
||||
public static bool TryParseInt32Invariant(string s, out int i)
|
||||
{
|
||||
return int.TryParse(s, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i);
|
||||
}
|
||||
}
|
||||
|
||||
public ref struct LineSplitEnumerator
|
||||
|
||||
Reference in New Issue
Block a user