diff options
author | Zoltan Varga <vargaz@gmail.com> | 2020-09-09 00:52:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 00:52:33 +0300 |
commit | 6e103e7191dcb17120032f2516cc7f8e9e04c32e (patch) | |
tree | a3ee2ea7450809dac229fc084683df3f335942ad /netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs | |
parent | 427395f4c6a18466c26d0cf782bed106d05e77ae (diff) |
Remove netcore/ directory from the mono/mono repository. (#20361)
Diffstat (limited to 'netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs')
-rw-r--r-- | netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs b/netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs deleted file mode 100644 index 24742a71b3f..00000000000 --- a/netcore/System.Private.CoreLib/shared/System/IO/FileShare.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -namespace System.IO -{ - // Contains constants for controlling file sharing options while - // opening files. You can specify what access other processes trying - // to open the same file concurrently can have. - // - // Note these values currently match the values for FILE_SHARE_READ, - // FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h - // - [Flags] - public enum FileShare - { - // No sharing. Any request to open the file (by this process or another - // process) will fail until the file is closed. - None = 0, - - // Allows subsequent opening of the file for reading. If this flag is not - // specified, any request to open the file for reading (by this process or - // another process) will fail until the file is closed. - Read = 1, - - // Allows subsequent opening of the file for writing. If this flag is not - // specified, any request to open the file for writing (by this process or - // another process) will fail until the file is closed. - Write = 2, - - // Allows subsequent opening of the file for writing or reading. If this flag - // is not specified, any request to open the file for writing or reading (by - // this process or another process) will fail until the file is closed. - ReadWrite = 3, - - // Open the file, but allow someone else to delete the file. - Delete = 4, - - // Whether the file handle should be inheritable by child processes. - // Note this is not directly supported like this by Win32. - Inheritable = 0x10, - } -} |