bluebonnet/Baselib/src/System/CompatibilitySwitches.cs

29 lines
595 B
C#
Raw Normal View History

2020-08-26 11:23:24 +03:00
namespace system
{
internal static class CompatibilitySwitches
{
// used by System.IO.StreamWriter
public static bool IsAppEarlierThanWindowsPhone8 => false;
2020-10-06 13:28:33 +03:00
//
// System.TimeSpan
//
public static class TimeSpan
{
2020-11-07 23:08:26 +02:00
// System.TimeSpan.LegacyFormatMode is a native call, which is
// forwarded to the method below, see NativeMethodClasses in CodeCall.
2020-10-06 13:28:33 +03:00
public static bool LegacyFormatMode() => false;
}
public static bool IsNetFx40TimeSpanLegacyFormatMode => false;
2020-08-26 11:23:24 +03:00
}
}