Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

835 lines
58 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Cpp2IlInjected;
namespace System.IO
{
/// <summary>Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of <see cref="T:System.IO.FileStream" /> objects.</summary>
// Token: 0x020002B4 RID: 692
[Token(Token = "0x20002B4")]
[ComVisible(true)]
public static class File
{
/// <summary>Copies an existing file to a new file. Overwriting a file of the same name is not allowed.</summary>
/// <param name="sourceFileName">The file to copy.</param>
/// <param name="destFileName">The name of the destination file. This cannot be a directory or an existing file.</param>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
/// -or-
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> specifies a directory.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="sourceFileName" /> was not found.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="destFileName" /> exists.
/// -or-
/// An I/O error has occurred.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
// 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)
{
}
/// <summary>Copies an existing file to a new file. Overwriting a file of the same name is allowed.</summary>
/// <param name="sourceFileName">The file to copy.</param>
/// <param name="destFileName">The name of the destination file. This cannot be a directory.</param>
/// <param name="overwrite">
/// <see langword="true" /> if the destination file can be overwritten; otherwise, <see langword="false" />.</param>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
/// -or-
/// <paramref name="destFileName" /> is read-only.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
/// -or-
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> specifies a directory.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="sourceFileName" /> was not found.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="destFileName" /> exists and <paramref name="overwrite" /> is <see langword="false" />.
/// -or-
/// An I/O error has occurred.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
// 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)
{
}
/// <summary>Creates or overwrites a file in the specified path.</summary>
/// <param name="path">The path and name of the file to create.</param>
/// <returns>A <see cref="T:System.IO.FileStream" /> that provides read/write access to the file specified in <paramref name="path" />.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
/// -or-
/// <paramref name="path" /> specified a file that is read-only.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while creating the file.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Creates or overwrites the specified file.</summary>
/// <param name="path">The name of the file.</param>
/// <param name="bufferSize">The number of bytes buffered for reads and writes to the file.</param>
/// <returns>A <see cref="T:System.IO.FileStream" /> with the specified buffer size that provides read/write access to the file specified in <paramref name="path" />.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
/// -or-
/// <paramref name="path" /> specified a file that is read-only.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while creating the file.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Creates or opens a file for writing UTF-8 encoded text. If the file already exists, its contents are overwritten.</summary>
/// <param name="path">The file to be opened for writing.</param>
/// <returns>A <see cref="T:System.IO.StreamWriter" /> that writes to the specified file using UTF-8 encoding.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Deletes the specified file.</summary>
/// <param name="path">The name of the file to be deleted. Wildcard characters are not supported.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">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.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
/// -or-
/// The file is an executable file that is in use.
/// -or-
/// <paramref name="path" /> is a directory.
/// -or-
/// <paramref name="path" /> specified a read-only file.</exception>
// 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)
{
}
/// <summary>Determines whether the specified file exists.</summary>
/// <param name="path">The file to check.</param>
/// <returns>
/// <see langword="true" /> if the caller has the required permissions and <paramref name="path" /> contains the name of an existing file; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="path" /> is <see langword="null" />, 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 <see langword="false" /> regardless of the existence of <paramref name="path" />.</returns>
// 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);
}
/// <summary>Gets the <see cref="T:System.IO.FileAttributes" /> of the file on the path.</summary>
/// <param name="path">The path to the file.</param>
/// <returns>The <see cref="T:System.IO.FileAttributes" /> of the file on the path.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is empty, contains only white spaces, or contains invalid characters.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="path" /> represents a file and is invalid, such as being on an unmapped drive, or the file cannot be found.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> represents a directory and is invalid, such as being on an unmapped drive, or the directory cannot be found.</exception>
/// <exception cref="T:System.IO.IOException">This file is being used by another process.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
// 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;
}
/// <summary>Returns the creation date and time of the specified file or directory.</summary>
/// <param name="path">The file or directory for which to obtain creation date and time information.</param>
/// <returns>A <see cref="T:System.DateTime" /> structure set to the creation date and time for the specified file or directory. This value is expressed in local time.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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);
}
/// <summary>Returns the date and time the specified file or directory was last accessed.</summary>
/// <param name="path">The file or directory for which to obtain access date and time information.</param>
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last accessed. This value is expressed in local time.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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);
}
/// <summary>Returns the date and time the specified file or directory was last written to.</summary>
/// <param name="path">The file or directory for which to obtain write date and time information.</param>
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last written to. This value is expressed in local time.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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);
}
/// <summary>Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to.</summary>
/// <param name="path">The file or directory for which to obtain write date and time information.</param>
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last written to. This value is expressed in UTC time.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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);
}
/// <summary>Moves a specified file to a new location, providing the option to specify a new file name.</summary>
/// <param name="sourceFileName">The name of the file to move. Can include a relative or absolute path.</param>
/// <param name="destFileName">The new path and name for the file.</param>
/// <exception cref="T:System.IO.IOException">The destination file already exists.
/// -or-
/// <paramref name="sourceFileName" /> was not found.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains invalid characters as defined in <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
// 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)
{
}
/// <summary>Opens a <see cref="T:System.IO.FileStream" /> on the specified path with read/write access with no sharing.</summary>
/// <param name="path">The file to open.</param>
/// <param name="mode">A <see cref="T:System.IO.FileMode" /> 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.</param>
/// <returns>A <see cref="T:System.IO.FileStream" /> opened in the specified mode and path, with read/write access and not shared.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.
/// -or-
/// <paramref name="mode" /> is <see cref="F:System.IO.FileMode.Create" /> and the specified file is a hidden file.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="mode" /> specified an invalid value.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Opens a <see cref="T:System.IO.FileStream" /> on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.</summary>
/// <param name="path">The file to open.</param>
/// <param name="mode">A <see cref="T:System.IO.FileMode" /> 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.</param>
/// <param name="access">A <see cref="T:System.IO.FileAccess" /> value that specifies the operations that can be performed on the file.</param>
/// <param name="share">A <see cref="T:System.IO.FileShare" /> value specifying the type of access other threads have to the file.</param>
/// <returns>A <see cref="T:System.IO.FileStream" /> on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
/// -or-
/// <paramref name="access" /> specified <see langword="Read" /> and <paramref name="mode" /> specified <see langword="Create" />, <see langword="CreateNew" />, <see langword="Truncate" />, or <see langword="Append" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only and <paramref name="access" /> is not <see langword="Read" />.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.
/// -or-
/// <paramref name="mode" /> is <see cref="F:System.IO.FileMode.Create" /> and the specified file is a hidden file.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> specified an invalid value.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Opens an existing file for reading.</summary>
/// <param name="path">The file to be opened for reading.</param>
/// <returns>A read-only <see cref="T:System.IO.FileStream" /> on the specified path.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
// 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;
}
/// <summary>Opens an existing UTF-8 encoded text file for reading.</summary>
/// <param name="path">The file to be opened for reading.</param>
/// <returns>A <see cref="T:System.IO.StreamReader" /> on the specified path.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Opens an existing file or creates a new file for writing.</summary>
/// <param name="path">The file to be opened for writing.</param>
/// <returns>An unshared <see cref="T:System.IO.FileStream" /> object on the specified path with <see cref="F:System.IO.FileAccess.Write" /> access.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
/// -or-
/// <paramref name="path" /> specified a read-only file or directory.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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;
}
/// <summary>Sets the specified <see cref="T:System.IO.FileAttributes" /> of the file on the specified path.</summary>
/// <param name="path">The path to the file.</param>
/// <param name="fileAttributes">A bitwise combination of the enumeration values.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
// 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)
{
}
/// <summary>Sets the date and time the file was created.</summary>
/// <param name="path">The file for which to set the creation date and time information.</param>
/// <param name="creationTime">A <see cref="T:System.DateTime" /> containing the value to set for the creation date and time of <paramref name="path" />. This value is expressed in local time.</param>
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while performing the operation.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="creationTime" /> specifies a value outside the range of dates, times, or both permitted for this operation.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
// 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)
{
}
/// <summary>Sets the date and time the specified file was last accessed.</summary>
/// <param name="path">The file for which to set the access date and time information.</param>
/// <param name="lastAccessTime">A <see cref="T:System.DateTime" /> containing the value to set for the last access date and time of <paramref name="path" />. This value is expressed in local time.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="lastAccessTime" /> specifies a value outside the range of dates or times permitted for this operation.</exception>
// 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)
{
}
/// <summary>Sets the date and time that the specified file was last written to.</summary>
/// <param name="path">The file for which to set the date and time information.</param>
/// <param name="lastWriteTime">A <see cref="T:System.DateTime" /> containing the value to set for the last write date and time of <paramref name="path" />. This value is expressed in local time.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="lastWriteTime" /> specifies a value outside the range of dates or times permitted for this operation.</exception>
// 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)
{
}
/// <summary>Opens a binary file, reads the contents of the file into a byte array, and then closes the file.</summary>
/// <param name="path">The file to open for reading.</param>
/// <returns>A byte array containing the contents of the file.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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;
}
/// <summary>Opens a text file, reads all lines of the file, and then closes the file.</summary>
/// <param name="path">The file to open for reading.</param>
/// <returns>A string array containing all lines of the file.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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;
}
/// <summary>Opens a file, reads all lines of the file with the specified encoding, and then closes the file.</summary>
/// <param name="path">The file to open for reading.</param>
/// <param name="encoding">The encoding applied to the contents of the file.</param>
/// <returns>A string array containing all lines of the file.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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;
}
/// <summary>Opens a text file, reads all the text in the file, and then closes the file.</summary>
/// <param name="path">The file to open for reading.</param>
/// <returns>A string containing all the text in the file.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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;
}
/// <summary>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.</summary>
/// <param name="path">The file to write to.</param>
/// <param name="bytes">The bytes to write to the file.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" /> or the byte array is empty.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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)
{
}
/// <summary>Creates a new file, write the specified string array to the file, and then closes the file.</summary>
/// <param name="path">The file to write to.</param>
/// <param name="contents">The string array to write to the file.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">Either <paramref name="path" /> or <paramref name="contents" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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)
{
}
/// <summary>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.</summary>
/// <param name="path">The file to write to.</param>
/// <param name="contents">The string to write to the file.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" /> or <paramref name="contents" /> is empty.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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)
{
}
/// <summary>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.</summary>
/// <param name="path">The file to write to.</param>
/// <param name="contents">The string to write to the file.</param>
/// <param name="encoding">The encoding to apply to the string.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" /> or <paramref name="contents" /> is empty.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specified a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> specified a directory.
/// -or-
/// The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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);
}
}
/// <summary>Reads the lines of a file.</summary>
/// <param name="path">The file to read.</param>
/// <returns>All the lines of the file, or the lines that are the result of a query.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="path" /> was not found.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
/// <exception cref="T:System.IO.PathTooLongException">
/// <paramref name="path" /> exceeds the system-defined maximum length.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">
/// <paramref name="path" /> specifies a file that is read-only.
/// -or-
/// This operation is not supported on the current platform.
/// -or-
/// <paramref name="path" /> is a directory.
/// -or-
/// The caller does not have the required permission.</exception>
// Token: 0x06001992 RID: 6546 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001992")]
[Address(RVA = "0x2BB2CC0", Offset = "0x2BB1CC0", VA = "0x182BB2CC0")]
public static IEnumerable<string> 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<string> 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;
}
}