using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Defines constants for read, write, or read/write access to a file. // Token: 0x020002AF RID: 687 [Token(Token = "0x20002AF")] [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: 0x04000D58 RID: 3416 [Token(Token = "0x4000D58")] Read = 1, /// Write access to the file. Data can be written to the file. Combine with for read/write access. // Token: 0x04000D59 RID: 3417 [Token(Token = "0x4000D59")] Write = 2, /// Read and write access to the file. Data can be written to and read from the file. // Token: 0x04000D5A RID: 3418 [Token(Token = "0x4000D5A")] ReadWrite = 3 } }