[io-layer] Extract file (#4255)
[mono.git] / mcs / class / corlib / System.IO / FileOptions.cs
index 204bb1f16ed4afa44f3630df857f167d3908517b..502974e7b00fb79412a709be16601479fb3c96ac 100644 (file)
@@ -36,12 +36,7 @@ namespace System.IO
        [Flags]
        [Serializable]
        [ComVisible(true)]
-       [MonoTODO]
-#if NET_2_0
        public enum FileOptions
-#else
-       internal enum FileOptions
-#endif
        {
                None = 0,
                Encrypted = 0x4000,
@@ -50,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
+               //
        }
 }