diff --git a/source/Cosmos.Core.Plugs/System/DateTimeImpl.cs b/source/Cosmos.Core.Plugs/System/DateTimeImpl.cs index 548dd28a2..9f633caa6 100644 --- a/source/Cosmos.Core.Plugs/System/DateTimeImpl.cs +++ b/source/Cosmos.Core.Plugs/System/DateTimeImpl.cs @@ -11,7 +11,7 @@ namespace Cosmos.Core.Plugs.System public static DateTime get_Now() { int[] raw = GetRawDate(); - + return new DateTime( 100 * BCDtoBIN(raw[10]) + BCDtoBIN(raw[9]), //YEAR BCDtoBIN(raw[8]), //MONTH @@ -51,7 +51,12 @@ namespace Cosmos.Core.Plugs.System return raw; } - + + public static int ToString(ref decimal aThis) + { + throw new NotImplementedException("DateTime.ToString()"); + } + public static long GetSystemTimeAsFileTime() => get_Now().Ticks; /// diff --git a/source/Cosmos.System.Plugs/System/DecimalImpl.cs b/source/Cosmos.System.Plugs/System/DecimalImpl.cs index 80f629aa5..434744b46 100644 --- a/source/Cosmos.System.Plugs/System/DecimalImpl.cs +++ b/source/Cosmos.System.Plugs/System/DecimalImpl.cs @@ -15,5 +15,10 @@ namespace Cosmos.System.Plugs.System { throw new NotImplementedException("Decimal.GetHashCode()"); } + + public static int ToString(ref decimal aThis) + { + throw new NotImplementedException("Decimal.ToString()"); + } } }