Specify comparison type in `Replace(...)`

pull/1180/head
Tyrrrz 11 months ago
parent 0745d49f44
commit 73080ecfa6

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
@ -122,7 +123,7 @@ internal partial class CsvMessageWriter
{
private static string CsvEncode(string value)
{
value = value.Replace("\"", "\"\"");
value = value.Replace("\"", "\"\"", StringComparison.Ordinal);
return $"\"{value}\"";
}
}

Loading…
Cancel
Save