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/Int64.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Int64.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Int64.cs b/src/System.Private.CoreLib/shared/System/Int64.cs
index c198f1800..8c2a43d7c 100644
--- a/src/System.Private.CoreLib/shared/System/Int64.cs
+++ b/src/System.Private.CoreLib/shared/System/Int64.cs
@@ -75,22 +75,22 @@ namespace System
public override String ToString()
{
- return Number.FormatInt64(m_value, null, NumberFormatInfo.CurrentInfo);
+ return Number.FormatInt64(m_value, null, null);
}
public String ToString(IFormatProvider provider)
{
- return Number.FormatInt64(m_value, null, NumberFormatInfo.GetInstance(provider));
+ return Number.FormatInt64(m_value, null, provider);
}
public String ToString(String format)
{
- return Number.FormatInt64(m_value, format, NumberFormatInfo.CurrentInfo);
+ return Number.FormatInt64(m_value, format, null);
}
public String ToString(String format, IFormatProvider provider)
{
- return Number.FormatInt64(m_value, format, NumberFormatInfo.GetInstance(provider));
+ return Number.FormatInt64(m_value, format, provider);
}
// TODO https://github.com/dotnet/corefx/issues/23642: Remove once corefx has been updated with new overloads.
@@ -99,7 +99,7 @@ namespace System
public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
{
- return Number.TryFormatInt64(m_value, format, NumberFormatInfo.GetInstance(provider), destination, out charsWritten);
+ return Number.TryFormatInt64(m_value, format, provider, destination, out charsWritten);
}
public static long Parse(String s)