Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/UInt64.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/UInt64.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/shared/System/UInt64.cs b/src/System.Private.CoreLib/shared/System/UInt64.cs
index 87a3c5dae..34305b956 100644
--- a/src/System.Private.CoreLib/shared/System/UInt64.cs
+++ b/src/System.Private.CoreLib/shared/System/UInt64.cs
@@ -76,22 +76,22 @@ namespace System
public override String ToString()
{
- return Number.FormatUInt64(m_value, null, NumberFormatInfo.CurrentInfo);
+ return Number.FormatUInt64(m_value, null, null);
}
public String ToString(IFormatProvider provider)
{
- return Number.FormatUInt64(m_value, null, NumberFormatInfo.GetInstance(provider));
+ return Number.FormatUInt64(m_value, null, provider);
}
public String ToString(String format)
{
- return Number.FormatUInt64(m_value, format, NumberFormatInfo.CurrentInfo);
+ return Number.FormatUInt64(m_value, format, null);
}
public String ToString(String format, IFormatProvider provider)
{
- return Number.FormatUInt64(m_value, format, NumberFormatInfo.GetInstance(provider));
+ return Number.FormatUInt64(m_value, format, provider);
}
// TODO https://github.com/dotnet/corefx/issues/23642: Remove once corefx has been updated with new overloads.
@@ -100,7 +100,7 @@ namespace System
public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
{
- return Number.TryFormatUInt64(m_value, format, NumberFormatInfo.GetInstance(provider), destination, out charsWritten);
+ return Number.TryFormatUInt64(m_value, format, provider, destination, out charsWritten);
}
[CLSCompliant(false)]