summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/PlatformID.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/PlatformID.cs')
-rw-r--r--src/mscorlib/src/System/PlatformID.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/PlatformID.cs b/src/mscorlib/src/System/PlatformID.cs
new file mode 100644
index 0000000000..b8725054cf
--- /dev/null
+++ b/src/mscorlib/src/System/PlatformID.cs
@@ -0,0 +1,31 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+/*============================================================
+**
+**
+**
+** Purpose: Defines IDs for supported platforms
+**
+**
+===========================================================*/
+namespace System {
+
+ [Serializable]
+[System.Runtime.InteropServices.ComVisible(true)]
+ public enum PlatformID
+ {
+ Win32S = 0,
+ Win32Windows = 1,
+ Win32NT = 2,
+ WinCE = 3,
+ Unix = 4,
+ Xbox = 5,
+#if !FEATURE_LEGACYNETCF
+ MacOSX = 6
+#else // FEATURE_LEGACYNETCF
+ NokiaS60 = 6
+#endif // FEATURE_LEGACYNETCF
+ }
+
+}