X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.IO%2FFileOptions.cs;h=499319e343a3f629470e7681bd932de3752c5d8b;hb=e41cdd1666eb179e2a9bc83820f361fa5a56ceec;hp=3b9dd6dadabae94f673521a98eb13dd3258f66da;hpb=f09ac378d3a28c0e06de77df1d1fcdae24529f07;p=mono.git diff --git a/mcs/class/corlib/System.IO/FileOptions.cs b/mcs/class/corlib/System.IO/FileOptions.cs index 3b9dd6dadab..499319e343a 100644 --- a/mcs/class/corlib/System.IO/FileOptions.cs +++ b/mcs/class/corlib/System.IO/FileOptions.cs @@ -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, @@ -49,8 +44,14 @@ namespace System.IO SequentialScan = 0x8000000, RandomAccess = 0x10000000, Asynchronous = 0x40000000, - // FIXME: This field cannot be encoded as an int in C# - //WriteThrough = 0x80000000 + 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 + // } }