using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Defines constants for read, write, or read/write access to a file. // Token: 0x020002B6 RID: 694 [Token(Token = "0x20002B6")] [Flags] [ComVisible(true)] [Serializable] public enum FileAccess { /// Read access to the file. Data can be read from the file. Combine with for read/write access. // Token: 0x04000D62 RID: 3426 [Token(Token = "0x4000D62")] Read = 1, /// Write access to the file. Data can be written to the file. Combine with for read/write access. // Token: 0x04000D63 RID: 3427 [Token(Token = "0x4000D63")] Write = 2, /// Read and write access to the file. Data can be written to and read from the file. // Token: 0x04000D64 RID: 3428 [Token(Token = "0x4000D64")] ReadWrite = 3 } }