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:
authorEgorBo <egorbo@gmail.com>2018-05-31 17:41:05 +0300
committerMarek Safar <marek.safar@gmail.com>2018-05-31 17:50:14 +0300
commita0f05a1a908bc0d3cbf2b8bc67cc9ef1c1a41ed8 (patch)
treebefff3fa760b86e514fdc856c2d8279df2a6c3d7
parente9f405968506867085a7888bbd3e71ada92eb3b6 (diff)
Add `using System.Diagnostics.Private;` to Decimal
-rw-r--r--src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Decimal.cs3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs b/src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs
index 05afe6b7e..c14603d45 100644
--- a/src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs
+++ b/src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs
@@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
+using System.Diagnostics.Private;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Decimal.cs b/src/System.Private.CoreLib/src/System/Decimal.cs
index 244ef6223..8bf8094f3 100644
--- a/src/System.Private.CoreLib/src/System/Decimal.cs
+++ b/src/System.Private.CoreLib/src/System/Decimal.cs
@@ -3,6 +3,7 @@
// 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;
@@ -54,7 +55,9 @@ namespace System
// the range of the Decimal type.
[Serializable]
[StructLayout(LayoutKind.Explicit)]
+#if !MONO
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
+#endif
public partial struct Decimal : IFormattable, IComparable, IConvertible, IComparable<Decimal>, IEquatable<Decimal>, IDeserializationCallback, ISpanFormattable
{
// Sign mask for the flags field. A value of zero in this bit indicates a