Merge pull request #2216 from akoeplinger/fix-array-sort
[mono.git] / mcs / class / corlib / System / PlatformID.cs
index 6cc919efb282e78116628613774c55446843af0d..7839406bb82cb1d6cdfc1efbc6f079cb08be2c5f 100644 (file)
@@ -12,7 +12,7 @@
 //
 
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System
 {
+       [ComVisible (true)]
+       [Serializable]
        public enum PlatformID
        {
                Win32S = 0,
                Win32Windows = 1,
                Win32NT = 2,
-#if NET_1_1 || NET_2_0
                WinCE = 3,
-#endif
-#if NET_2_0
-               Unix = 4
-#endif
+               Unix = 4,
+               // Since NET 3.5 SP1 or silverlight
+               Xbox = 5,
+               MacOSX = 6,
        }
-}\r
+}