using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using Cpp2IlInjected; namespace System.IO { /// Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of objects. // Token: 0x020002B4 RID: 692 [Token(Token = "0x20002B4")] [ComVisible(true)] public static class File { /// Copies an existing file to a new file. Overwriting a file of the same name is not allowed. /// The file to copy. /// The name of the destination file. This cannot be a directory or an existing file. /// The caller does not have the required permission. /// /// or is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// -or- /// or specifies a directory. /// /// or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The path specified in or is invalid (for example, it is on an unmapped drive). /// /// was not found. /// /// exists. /// -or- /// An I/O error has occurred. /// /// or is in an invalid format. // Token: 0x06001971 RID: 6513 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001971")] [Address(RVA = "0x2BB14E0", Offset = "0x2BB04E0", VA = "0x182BB14E0")] public static void Copy(string sourceFileName, string destFileName) { } /// Copies an existing file to a new file. Overwriting a file of the same name is allowed. /// The file to copy. /// The name of the destination file. This cannot be a directory. /// /// if the destination file can be overwritten; otherwise, . /// The caller does not have the required permission. /// -or- /// is read-only. /// /// or is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// -or- /// or specifies a directory. /// /// or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The path specified in or is invalid (for example, it is on an unmapped drive). /// /// was not found. /// /// exists and is . /// -or- /// An I/O error has occurred. /// /// or is in an invalid format. // Token: 0x06001972 RID: 6514 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001972")] [Address(RVA = "0x2BB0E10", Offset = "0x2BAFE10", VA = "0x182BB0E10")] public static void Copy(string sourceFileName, string destFileName, bool overwrite) { } /// Creates or overwrites a file in the specified path. /// The path and name of the file to create. /// A that provides read/write access to the file specified in . /// The caller does not have the required permission. /// -or- /// specified a file that is read-only. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while creating the file. /// /// is in an invalid format. // Token: 0x06001973 RID: 6515 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001973")] [Address(RVA = "0x2BB15D0", Offset = "0x2BB05D0", VA = "0x182BB15D0")] public static FileStream Create(string path) { return null; } /// Creates or overwrites the specified file. /// The name of the file. /// The number of bytes buffered for reads and writes to the file. /// A with the specified buffer size that provides read/write access to the file specified in . /// The caller does not have the required permission. /// -or- /// specified a file that is read-only. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while creating the file. /// /// is in an invalid format. // Token: 0x06001974 RID: 6516 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001974")] [Address(RVA = "0x2BB1550", Offset = "0x2BB0550", VA = "0x182BB1550")] public static FileStream Create(string path, int bufferSize) { return null; } /// Creates or opens a file for writing UTF-8 encoded text. If the file already exists, its contents are overwritten. /// The file to be opened for writing. /// A that writes to the specified file using UTF-8 encoding. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// /// is in an invalid format. // Token: 0x06001975 RID: 6517 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001975")] [Address(RVA = "0x2BB14F0", Offset = "0x2BB04F0", VA = "0x182BB14F0")] public static StreamWriter CreateText(string path) { return null; } /// Deletes the specified file. /// The name of the file to be deleted. Wildcard characters are not supported. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path is invalid (for example, it is on an unmapped drive). /// The specified file is in use. /// -or- /// There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files. /// /// is in an invalid format. /// The specified path, file name, or both exceed the system-defined maximum length. /// The caller does not have the required permission. /// -or- /// The file is an executable file that is in use. /// -or- /// is a directory. /// -or- /// specified a read-only file. // Token: 0x06001976 RID: 6518 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001976")] [Address(RVA = "0x2BB1650", Offset = "0x2BB0650", VA = "0x182BB1650")] public static void Delete(string path) { } /// Determines whether the specified file exists. /// The file to check. /// /// if the caller has the required permissions and contains the name of an existing file; otherwise, . This method also returns if is , an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns regardless of the existence of . // Token: 0x06001977 RID: 6519 RVA: 0x00010D28 File Offset: 0x0000EF28 [Token(Token = "0x6001977")] [Address(RVA = "0x2BB1890", Offset = "0x2BB0890", VA = "0x182BB1890")] public static bool Exists(string path) { return default(bool); } /// Gets the of the file on the path. /// The path to the file. /// The of the file on the path. /// /// is empty, contains only white spaces, or contains invalid characters. /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. /// /// represents a file and is invalid, such as being on an unmapped drive, or the file cannot be found. /// /// represents a directory and is invalid, such as being on an unmapped drive, or the directory cannot be found. /// This file is being used by another process. /// The caller does not have the required permission. // Token: 0x06001978 RID: 6520 RVA: 0x00010D40 File Offset: 0x0000EF40 [Token(Token = "0x6001978")] [Address(RVA = "0x2BB1A60", Offset = "0x2BB0A60", VA = "0x182BB1A60")] public static FileAttributes GetAttributes(string path) { return (FileAttributes)0; } /// Returns the creation date and time of the specified file or directory. /// The file or directory for which to obtain creation date and time information. /// A structure set to the creation date and time for the specified file or directory. This value is expressed in local time. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. // Token: 0x06001979 RID: 6521 RVA: 0x00010D58 File Offset: 0x0000EF58 [Token(Token = "0x6001979")] [Address(RVA = "0x2BB1B40", Offset = "0x2BB0B40", VA = "0x182BB1B40")] public static DateTime GetCreationTime(string path) { return default(DateTime); } /// Returns the date and time the specified file or directory was last accessed. /// The file or directory for which to obtain access date and time information. /// A structure set to the date and time that the specified file or directory was last accessed. This value is expressed in local time. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. // Token: 0x0600197A RID: 6522 RVA: 0x00010D70 File Offset: 0x0000EF70 [Token(Token = "0x600197A")] [Address(RVA = "0x2BB1C80", Offset = "0x2BB0C80", VA = "0x182BB1C80")] public static DateTime GetLastAccessTime(string path) { return default(DateTime); } /// Returns the date and time the specified file or directory was last written to. /// The file or directory for which to obtain write date and time information. /// A structure set to the date and time that the specified file or directory was last written to. This value is expressed in local time. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. // Token: 0x0600197B RID: 6523 RVA: 0x00010D88 File Offset: 0x0000EF88 [Token(Token = "0x600197B")] [Address(RVA = "0x2BB1F00", Offset = "0x2BB0F00", VA = "0x182BB1F00")] public static DateTime GetLastWriteTime(string path) { return default(DateTime); } /// Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to. /// The file or directory for which to obtain write date and time information. /// A structure set to the date and time that the specified file or directory was last written to. This value is expressed in UTC time. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. // Token: 0x0600197C RID: 6524 RVA: 0x00010DA0 File Offset: 0x0000EFA0 [Token(Token = "0x600197C")] [Address(RVA = "0x2BB1DC0", Offset = "0x2BB0DC0", VA = "0x182BB1DC0")] public static DateTime GetLastWriteTimeUtc(string path) { return default(DateTime); } /// Moves a specified file to a new location, providing the option to specify a new file name. /// The name of the file to move. Can include a relative or absolute path. /// The new path and name for the file. /// The destination file already exists. /// -or- /// was not found. /// /// or is . /// /// or is a zero-length string, contains only white space, or contains invalid characters as defined in . /// The caller does not have the required permission. /// The specified path, file name, or both exceed the system-defined maximum length. /// The path specified in or is invalid, (for example, it is on an unmapped drive). /// /// or is in an invalid format. // Token: 0x0600197D RID: 6525 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600197D")] [Address(RVA = "0x2BB2040", Offset = "0x2BB1040", VA = "0x182BB2040")] public static void Move(string sourceFileName, string destFileName) { } /// Opens a on the specified path with read/write access with no sharing. /// The file to open. /// A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. /// A opened in the specified mode and path, with read/write access and not shared. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid, (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// -or- /// is and the specified file is a hidden file. /// /// specified an invalid value. /// The file specified in was not found. /// /// is in an invalid format. // Token: 0x0600197E RID: 6526 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600197E")] [Address(RVA = "0x2BB2650", Offset = "0x2BB1650", VA = "0x182BB2650")] public static FileStream Open(string path, FileMode mode) { return null; } /// Opens a on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. /// The file to open. /// A value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten. /// A value that specifies the operations that can be performed on the file. /// A value specifying the type of access other threads have to the file. /// A on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// -or- /// specified and specified , , , or . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid, (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only and is not . /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// -or- /// is and the specified file is a hidden file. /// /// , , or specified an invalid value. /// The file specified in was not found. /// /// is in an invalid format. // Token: 0x0600197F RID: 6527 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600197F")] [Address(RVA = "0x2BB26E0", Offset = "0x2BB16E0", VA = "0x182BB26E0")] public static FileStream Open(string path, FileMode mode, FileAccess access, FileShare share) { return null; } /// Opens an existing file for reading. /// The file to be opened for reading. /// A read-only on the specified path. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid, (for example, it is on an unmapped drive). /// /// specified a directory. /// -or- /// The caller does not have the required permission. /// The file specified in was not found. /// /// is in an invalid format. /// An I/O error occurred while opening the file. // Token: 0x06001980 RID: 6528 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001980")] [Address(RVA = "0x2BB24F0", Offset = "0x2BB14F0", VA = "0x182BB24F0")] public static FileStream OpenRead(string path) { return null; } /// Opens an existing UTF-8 encoded text file for reading. /// The file to be opened for reading. /// A on the specified path. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid, (for example, it is on an unmapped drive). /// The file specified in was not found. /// /// is in an invalid format. // Token: 0x06001981 RID: 6529 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001981")] [Address(RVA = "0x2BB2570", Offset = "0x2BB1570", VA = "0x182BB2570")] public static StreamReader OpenText(string path) { return null; } /// Opens an existing file or creates a new file for writing. /// The file to be opened for writing. /// An unshared object on the specified path with access. /// The caller does not have the required permission. /// -or- /// specified a read-only file or directory. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid, (for example, it is on an unmapped drive). /// /// is in an invalid format. // Token: 0x06001982 RID: 6530 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001982")] [Address(RVA = "0x2BB25D0", Offset = "0x2BB15D0", VA = "0x182BB25D0")] public static FileStream OpenWrite(string path) { return null; } /// Sets the specified of the file on the specified path. /// The path to the file. /// A bitwise combination of the enumeration values. /// /// is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid. /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is in an invalid format. /// The specified path is invalid, (for example, it is on an unmapped drive). /// The file cannot be found. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. // Token: 0x06001983 RID: 6531 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001983")] [Address(RVA = "0x2BB2DD0", Offset = "0x2BB1DD0", VA = "0x182BB2DD0")] public static void SetAttributes(string path, FileAttributes fileAttributes) { } /// Sets the date and time the file was created. /// The file for which to set the creation date and time information. /// A containing the value to set for the creation date and time of . This value is expressed in local time. /// The specified path was not found. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// An I/O error occurred while performing the operation. /// /// specifies a value outside the range of dates, times, or both permitted for this operation. /// The caller does not have the required permission. /// /// is in an invalid format. // Token: 0x06001984 RID: 6532 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001984")] [Address(RVA = "0x2BB2EB0", Offset = "0x2BB1EB0", VA = "0x182BB2EB0")] public static void SetCreationTime(string path, DateTime creationTime) { } /// Sets the date and time the specified file was last accessed. /// The file for which to set the access date and time information. /// A containing the value to set for the last access date and time of . This value is expressed in local time. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path was not found. /// The caller does not have the required permission. /// /// is in an invalid format. /// /// specifies a value outside the range of dates or times permitted for this operation. // Token: 0x06001985 RID: 6533 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001985")] [Address(RVA = "0x2BB3000", Offset = "0x2BB2000", VA = "0x182BB3000")] public static void SetLastAccessTime(string path, DateTime lastAccessTime) { } /// Sets the date and time that the specified file was last written to. /// The file for which to set the date and time information. /// A containing the value to set for the last write date and time of . This value is expressed in local time. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path was not found. /// The caller does not have the required permission. /// /// is in an invalid format. /// /// specifies a value outside the range of dates or times permitted for this operation. // Token: 0x06001986 RID: 6534 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001986")] [Address(RVA = "0x2BB3150", Offset = "0x2BB2150", VA = "0x182BB3150")] public static void SetLastWriteTime(string path, DateTime lastWriteTime) { } /// Opens a binary file, reads the contents of the file into a byte array, and then closes the file. /// The file to open for reading. /// A byte array containing the contents of the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// The file specified in was not found. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x06001987 RID: 6535 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001987")] [Address(RVA = "0x2BB2780", Offset = "0x2BB1780", VA = "0x182BB2780")] public static byte[] ReadAllBytes(string path) { return null; } /// Opens a text file, reads all lines of the file, and then closes the file. /// The file to open for reading. /// A string array containing all lines of the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// The file specified in was not found. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x06001988 RID: 6536 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001988")] [Address(RVA = "0x2BB2AF0", Offset = "0x2BB1AF0", VA = "0x182BB2AF0")] public static string[] ReadAllLines(string path) { return null; } /// Opens a file, reads all lines of the file with the specified encoding, and then closes the file. /// The file to open for reading. /// The encoding applied to the contents of the file. /// A string array containing all lines of the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// The file specified in was not found. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x06001989 RID: 6537 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001989")] [Address(RVA = "0x2BB2960", Offset = "0x2BB1960", VA = "0x182BB2960")] public static string[] ReadAllLines(string path, Encoding encoding) { return null; } // Token: 0x0600198A RID: 6538 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600198A")] [Address(RVA = "0x2BB2A40", Offset = "0x2BB1A40", VA = "0x182BB2A40")] private static string[] ReadAllLines(StreamReader reader) { return null; } /// Opens a text file, reads all the text in the file, and then closes the file. /// The file to open for reading. /// A string containing all the text in the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// The file specified in was not found. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x0600198B RID: 6539 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600198B")] [Address(RVA = "0x2BB2BE0", Offset = "0x2BB1BE0", VA = "0x182BB2BE0")] public static string ReadAllText(string path) { return null; } /// Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. /// The file to write to. /// The bytes to write to the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is or the byte array is empty. /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x0600198C RID: 6540 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600198C")] [Address(RVA = "0x2BB32A0", Offset = "0x2BB22A0", VA = "0x182BB32A0")] public static void WriteAllBytes(string path, byte[] bytes) { } /// Creates a new file, write the specified string array to the file, and then closes the file. /// The file to write to. /// The string array to write to the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// Either or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x0600198D RID: 6541 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600198D")] [Address(RVA = "0x2BB3450", Offset = "0x2BB2450", VA = "0x182BB3450")] public static void WriteAllLines(string path, string[] contents) { } // Token: 0x0600198E RID: 6542 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600198E")] [Address(RVA = "0x2BB33D0", Offset = "0x2BB23D0", VA = "0x182BB33D0")] private static void WriteAllLines(StreamWriter writer, string[] contents) { } /// Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten. /// The file to write to. /// The string to write to the file. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is or is empty. /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x0600198F RID: 6543 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600198F")] [Address(RVA = "0x2BB3560", Offset = "0x2BB2560", VA = "0x182BB3560")] public static void WriteAllText(string path, string contents) { } /// Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. /// The file to write to. /// The string to write to the file. /// The encoding to apply to the string. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . /// /// is or is empty. /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// An I/O error occurred while opening the file. /// /// specified a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// specified a directory. /// -or- /// The caller does not have the required permission. /// /// is in an invalid format. /// The caller does not have the required permission. // Token: 0x06001990 RID: 6544 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001990")] [Address(RVA = "0x2BB35D0", Offset = "0x2BB25D0", VA = "0x182BB35D0")] public static void WriteAllText(string path, string contents, Encoding encoding) { } // Token: 0x17000310 RID: 784 // (get) Token: 0x06001991 RID: 6545 RVA: 0x00010DB8 File Offset: 0x0000EFB8 [Token(Token = "0x17000310")] private static DateTime DefaultLocalFileTime { [Token(Token = "0x6001991")] [Address(RVA = "0x2BB36C0", Offset = "0x2BB26C0", VA = "0x182BB36C0")] get { return default(DateTime); } } /// Reads the lines of a file. /// The file to read. /// All the lines of the file, or the lines that are the result of a query. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method. /// /// is . /// /// is invalid (for example, it is on an unmapped drive). /// The file specified by was not found. /// An I/O error occurred while opening the file. /// /// exceeds the system-defined maximum length. /// The caller does not have the required permission. /// /// specifies a file that is read-only. /// -or- /// This operation is not supported on the current platform. /// -or- /// is a directory. /// -or- /// The caller does not have the required permission. // Token: 0x06001992 RID: 6546 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001992")] [Address(RVA = "0x2BB2CC0", Offset = "0x2BB1CC0", VA = "0x182BB2CC0")] public static IEnumerable ReadLines(string path) { return null; } // Token: 0x06001993 RID: 6547 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001993")] [Address(RVA = "0x2BB2D60", Offset = "0x2BB1D60", VA = "0x182BB2D60")] private static IEnumerable ReadLines(StreamReader reader) { return null; } // Token: 0x06001994 RID: 6548 RVA: 0x00010DD0 File Offset: 0x0000EFD0 [Token(Token = "0x6001994")] [Address(RVA = "0x2BB1970", Offset = "0x2BB0970", VA = "0x182BB1970")] internal static int FillAttributeInfo(string path, ref MonoIOStat data, bool tryagain, bool returnErrorOnNotFound) { return 0; } // Token: 0x04000D59 RID: 3417 [Token(Token = "0x4000D59")] private static DateTime? defaultLocalFileTime; } }