[io-layer] Extract file (#4255)
[mono.git] / mcs / class / corlib / System.IO / FileOptions.cs
index 7a78e7ef30bd4e97b7c192ea6b108ef35d24d103..502974e7b00fb79412a709be16601479fb3c96ac 100644 (file)
@@ -36,11 +36,7 @@ namespace System.IO
        [Flags]
        [Serializable]
        [ComVisible(true)]
-#if NET_2_0
        public enum FileOptions
-#else
-       internal enum FileOptions
-#endif
        {
                None = 0,
                Encrypted = 0x4000,
@@ -49,6 +45,13 @@ namespace System.IO
                RandomAccess = 0x10000000,
                Asynchronous = 0x40000000,
                WriteThrough = -2147483648
+               //
+               // FileIsTemporary = 1
+               //    The above is an internal value used by Path.GetTempFile to
+               //    get a file with 600 permissions, regardless of the umask
+               //    settings.  If a value "1" must be introduced here, update
+               //    both metadata/w32file.c and Path.GetTempFile
+               //
        }
 }