mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 01:18:46 +00:00
Use InvariantCulture for char.ToString()
This commit is contained in:
parent
0d00dd62e8
commit
e05873f383
@ -209,7 +209,7 @@ namespace X10D.RandomExtensions
|
|||||||
|
|
||||||
if (length == 1)
|
if (length == 1)
|
||||||
{
|
{
|
||||||
return source[random.Next(0, source.Count)].ToString();
|
return source[random.Next(0, source.Count)].ToString(CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
var builder = new StringBuilder(length);
|
var builder = new StringBuilder(length);
|
||||||
|
Loading…
Reference in New Issue
Block a user