From a0f05a1a908bc0d3cbf2b8bc67cc9ef1c1a41ed8 Mon Sep 17 00:00:00 2001 From: EgorBo Date: Thu, 31 May 2018 17:41:05 +0300 Subject: Add `using System.Diagnostics.Private;` to Decimal --- src/System.Private.CoreLib/src/System/Decimal.DecCalc.cs | 1 + src/System.Private.CoreLib/src/System/Decimal.cs | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src') 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, IEquatable, IDeserializationCallback, ISpanFormattable { // Sign mask for the flags field. A value of zero in this bit indicates a -- cgit v1.2.3