You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.142
Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
This commit is contained in:
parent
e52655b4dc
commit
0abdbe5a7d
@@ -4,9 +4,6 @@
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#if MONO
|
||||
using System.Diagnostics.Private;
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.IO
|
||||
|
@@ -3,9 +3,6 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
#if MONO
|
||||
using System.Diagnostics.Private;
|
||||
#endif
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
|
@@ -3,9 +3,6 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
#if MONO
|
||||
using System.Diagnostics.Private;
|
||||
#endif
|
||||
|
||||
namespace System.Collections.Generic
|
||||
{
|
||||
|
@@ -1 +1 @@
|
||||
c14603d45ef7ad7f0c541d64df6fd49fc47b9879
|
||||
05afe6b7e296d261b03eff87b6fb61e1db537d32
|
@@ -3,7 +3,6 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@@ -3,7 +3,6 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Runtime;
|
||||
using System.Globalization;
|
||||
|
||||
@@ -19,10 +18,10 @@ namespace System
|
||||
Debug.Assert(precision > 0 && precision < 40);
|
||||
|
||||
number.precision = precision;
|
||||
if (DoubleHelper.Exponent(value) == 0x7ff)
|
||||
if (!Double.IsFinite(value))
|
||||
{
|
||||
number.scale = DoubleHelper.Mantissa(value) != 0 ? ScaleNAN : ScaleINF;
|
||||
number.sign = DoubleHelper.Sign(value);
|
||||
number.scale = Double.IsNaN(value) ? ScaleNAN : ScaleINF;
|
||||
number.sign = Double.IsNegative(value);
|
||||
number.digits[0] = '\0';
|
||||
return;
|
||||
}
|
||||
@@ -162,4 +161,4 @@ namespace System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -12,10 +12,10 @@ namespace System
|
||||
private static unsafe void DoubleToNumber(double value, int precision, ref NumberBuffer number)
|
||||
{
|
||||
number.precision = precision;
|
||||
if (DoubleHelper.Exponent(value) == 0x7ff)
|
||||
if (!Double.IsFinite(value))
|
||||
{
|
||||
number.scale = DoubleHelper.Mantissa(value) != 0 ? ScaleNAN : ScaleINF;
|
||||
number.sign = DoubleHelper.Sign(value);
|
||||
number.scale = Double.IsNaN(value) ? ScaleNAN : ScaleINF;
|
||||
number.sign = Double.IsNegative(value);
|
||||
number.digits[0] = '\0';
|
||||
}
|
||||
else
|
||||
@@ -40,4 +40,3 @@ namespace System
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -39,7 +39,6 @@
|
||||
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
using System.Buffers;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Runtime;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
@@ -17,7 +17,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
|
@@ -13,7 +13,6 @@
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
|
||||
|
||||
// Disable the "reference to volatile field not treated as volatile" error.
|
||||
|
@@ -1 +1 @@
|
||||
a536d51d1c315ded8a565fd23c7697bb35dc6f1c
|
||||
b27b1858fea5bbb83b6ef0a139929bdcebcba74d
|
@@ -26,7 +26,6 @@ using System.Collections;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
|
@@ -1 +1 @@
|
||||
48443f12612316da12c20882839cea4e7be89e74
|
||||
185449d187c8932c82d449d467170732f3d171d7
|
@@ -11,7 +11,7 @@
|
||||
//
|
||||
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
using System.Diagnostics.Private;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
using Internal.Runtime.Augments;
|
||||
|
@@ -18,7 +18,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Runtime.ExceptionServices;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
|
@@ -1 +1 @@
|
||||
c80953c82c13044ea68c339395b3895f2eabc64c
|
||||
627a760c70dad24b763acc3e566b6cf1c18ae6e7
|
@@ -12,7 +12,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Private;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
|
@@ -3,9 +3,6 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
#if MONO
|
||||
using System.Diagnostics.Private;
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Threading
|
||||
|
@@ -4,9 +4,6 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#if MONO
|
||||
using System.Diagnostics.Private;
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Threading
|
||||
|
Reference in New Issue
Block a user