[System.IO] Integrate FileSystemWatchers from CoreFX
[mono-project.git] / mcs / class / test-helpers / PlatformDetection.cs
blobfea6b0559dff3c02f7f5d7fad037bab84cba90d0
1 namespace System
3 static partial class PlatformDetection
5 public static readonly bool IsNetNative = false;
6 public static readonly bool IsNotWinRT = true;
7 public static readonly bool IsWinRT = false;
8 public static readonly bool IsWindowsNanoServer = false;
10 public static bool IsWindows7 => false;
11 public static bool IsFullFramework => true;
12 public static bool IsNonZeroLowerBoundArraySupported => true;
13 public static bool IsUap => false;
15 //TODO: check?
16 public static bool IsNotWindowsSubsystemForLinux => true;
17 public static bool IsWindowsSubsystemForLinux => false;
18 public static bool IsFedora => false;
20 public static bool IsWindows {
21 get {
22 PlatformID id = Environment.OSVersion.Platform;
23 return id == PlatformID.Win32Windows || id == PlatformID.Win32NT;
26 public static bool IsInAppContainer => false;