Fix format provider in IndentedTextWriter

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-17 12:47:01 +02:00
1 親 8730e9241c
コミット af66cb941c
1ファイル変更
+2 -1
+2 -1
ファイルの表示
@@ -4,6 +4,7 @@
using System;
using System.ComponentModel;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Text;
@@ -342,7 +343,7 @@ internal sealed class IndentedTextWriter : IDisposable
{
if (value is IFormattable)
{
this.writer.Write(((IFormattable)value).ToString(format));
this.writer.Write(((IFormattable)value).ToString(format, CultureInfo.InvariantCulture));
}
else if (value is not null)
{