Fix null sessions in HttpContextWrapper.Session
[mono.git] / mcs / class / corlib / System.IO / FileOptions.cs
index 7a78e7ef30bd4e97b7c192ea6b108ef35d24d103..499319e343a3f629470e7681bd932de3752c5d8b 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/file-io.c and Path.GetTempFile
+               //
        }
 }