oh dear
This commit is contained in:
@@ -0,0 +1,483 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000281 RID: 641
|
||||
[Token(Token = "0x2000281")]
|
||||
[ComVisible(true)]
|
||||
public static class Directory
|
||||
{
|
||||
/// <summary>Returns the names of files (including their paths) in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
/// <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. You can query for invalid characters by using 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.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 not found or is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600174D RID: 5965 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600174D")]
|
||||
[Address(RVA = "0x2933FF0", Offset = "0x2932DF0", VA = "0x182933FF0")]
|
||||
public static string[] GetFiles(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of files (including their paths) that match the specified search pattern in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
/// <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. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> 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 not found or is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600174E RID: 5966 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600174E")]
|
||||
[Address(RVA = "0x2933DF0", Offset = "0x2932BF0", VA = "0x182933DF0")]
|
||||
public static string[] GetFiles(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of files (including their paths) that match the specified search pattern in the specified directory, using a value to determine whether to search subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found.</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. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchpattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</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">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
// Token: 0x0600174F RID: 5967 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600174F")]
|
||||
[Address(RVA = "0x2933EC0", Offset = "0x2932CC0", VA = "0x182933EC0")]
|
||||
public static string[] GetFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001750 RID: 5968 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001750")]
|
||||
[Address(RVA = "0x2934420", Offset = "0x2933220", VA = "0x182934420")]
|
||||
private static string[] InternalGetFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of subdirectories (including their paths) in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <returns>An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found.</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. You can query for invalid characters by using 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.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001751 RID: 5969 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001751")]
|
||||
[Address(RVA = "0x2933C90", Offset = "0x2932A90", VA = "0x182933C90")]
|
||||
public static string[] GetDirectories(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found.</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. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> 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">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001752 RID: 5970 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001752")]
|
||||
[Address(RVA = "0x2933BC0", Offset = "0x29329C0", VA = "0x182933BC0")]
|
||||
public static string[] GetDirectories(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
|
||||
/// <returns>An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found.</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. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</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.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001753 RID: 5971 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001753")]
|
||||
[Address(RVA = "0x2933A90", Offset = "0x2932890", VA = "0x182933A90")]
|
||||
public static string[] GetDirectories(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001754 RID: 5972 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001754")]
|
||||
[Address(RVA = "0x29342F0", Offset = "0x29330F0", VA = "0x1829342F0")]
|
||||
private static string[] InternalGetDirectories(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an array of file names and directory names that match a search pattern in a specified path.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of file and directories in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of file names and directory names that match the specified search criteria, or an empty array if no files or directories are found.</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. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> 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">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001755 RID: 5973 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001755")]
|
||||
[Address(RVA = "0x2933D20", Offset = "0x2932B20", VA = "0x182933D20")]
|
||||
public static string[] GetFileSystemEntries(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001756 RID: 5974 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001756")]
|
||||
[Address(RVA = "0x29343F0", Offset = "0x29331F0", VA = "0x1829343F0")]
|
||||
private static string[] InternalGetFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001757 RID: 5975 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001757")]
|
||||
[Address(RVA = "0x2934320", Offset = "0x2933120", VA = "0x182934320")]
|
||||
internal static string[] InternalGetFileDirectoryNames(string path, string userPathOriginal, string searchPattern, bool includeFiles, bool includeDirs, SearchOption searchOption, bool checkHost)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed 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">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001758 RID: 5976 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001758")]
|
||||
[Address(RVA = "0x2933550", Offset = "0x2932350", VA = "0x182933550")]
|
||||
public static IEnumerable<string> EnumerateFiles(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories.
|
||||
/// The default value is <see cref="F:System.IO.SearchOption.TopDirectoryOnly" />.</param>
|
||||
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern and option.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed 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">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001759 RID: 5977 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001759")]
|
||||
[Address(RVA = "0x2933620", Offset = "0x2932420", VA = "0x182933620")]
|
||||
public static IEnumerable<string> EnumerateFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600175A RID: 5978 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600175A")]
|
||||
[Address(RVA = "0x29342C0", Offset = "0x29330C0", VA = "0x1829342C0")]
|
||||
private static IEnumerable<string> InternalEnumerateFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600175B RID: 5979 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600175B")]
|
||||
[Address(RVA = "0x2933520", Offset = "0x2932320", VA = "0x182933520")]
|
||||
private static IEnumerable<string> EnumerateFileSystemNames(string path, string searchPattern, SearchOption searchOption, bool includeFiles, bool includeDirs)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates all directories and subdirectories in the specified path unless they already exist.</summary>
|
||||
/// <param name="path">The directory to create.</param>
|
||||
/// <returns>An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is a file.
|
||||
/// -or-
|
||||
/// The network name is not known.</exception>
|
||||
/// <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. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> is prefixed with, or contains, only a colon character (:).</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" /> contains a colon character (:) that is not part of a drive label ("C:\").</exception>
|
||||
// Token: 0x0600175C RID: 5980 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600175C")]
|
||||
[Address(RVA = "0x2932F40", Offset = "0x2931D40", VA = "0x182932F40")]
|
||||
public static DirectoryInfo CreateDirectory(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600175D RID: 5981 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600175D")]
|
||||
[Address(RVA = "0x2932D30", Offset = "0x2931B30", VA = "0x182932D30")]
|
||||
private static DirectoryInfo CreateDirectoriesInternal(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Deletes an empty directory from a specified path.</summary>
|
||||
/// <param name="path">The name of the empty directory to remove. This directory must be writable and empty.</param>
|
||||
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// The directory specified by <paramref name="path" /> is not empty.
|
||||
/// -or-
|
||||
/// The directory is read-only or contains a read-only file.
|
||||
/// -or-
|
||||
/// The directory is being used by another process.</exception>
|
||||
/// <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. You can query for invalid characters by using 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.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> does not exist or could not be found.
|
||||
/// -or-
|
||||
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600175E RID: 5982 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175E")]
|
||||
[Address(RVA = "0x2933170", Offset = "0x2931F70", VA = "0x182933170")]
|
||||
public static void Delete(string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175F RID: 5983 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175F")]
|
||||
[Address(RVA = "0x2934530", Offset = "0x2933330", VA = "0x182934530")]
|
||||
private static void RecursiveDelete(string path)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Deletes the specified directory and, if indicated, any subdirectories and files in the directory.</summary>
|
||||
/// <param name="path">The name of the directory to remove.</param>
|
||||
/// <param name="recursive">
|
||||
/// <see langword="true" /> to remove directories, subdirectories, and files in <paramref name="path" />; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
|
||||
/// -or-
|
||||
/// The directory specified by <paramref name="path" /> is read-only, or <paramref name="recursive" /> is <see langword="false" /> and <paramref name="path" /> is not an empty directory.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// The directory contains a read-only file.
|
||||
/// -or-
|
||||
/// The directory is being used by another process.</exception>
|
||||
/// <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. You can query for invalid characters by using 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.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> does not exist or could not be found.
|
||||
/// -or-
|
||||
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001760 RID: 5984 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001760")]
|
||||
[Address(RVA = "0x2933490", Offset = "0x2932290", VA = "0x182933490")]
|
||||
public static void Delete(string path, bool recursive)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the given path refers to an existing directory on disk.</summary>
|
||||
/// <param name="path">The path to test.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="path" /> refers to an existing directory; <see langword="false" /> if the directory does not exist or an error occurs when trying to determine if the specified directory exists.</returns>
|
||||
// Token: 0x06001761 RID: 5985 RVA: 0x000101D0 File Offset: 0x0000E3D0
|
||||
[Token(Token = "0x6001761")]
|
||||
[Address(RVA = "0x2933750", Offset = "0x2932550", VA = "0x182933750")]
|
||||
public static bool Exists(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets the current working directory of the application.</summary>
|
||||
/// <returns>A string that contains the absolute path of the current working directory, and does not end with a backslash (\).</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The operating system is Windows CE, which does not have current directory functionality.
|
||||
/// This method is available in the .NET Compact Framework, but is not currently supported.</exception>
|
||||
// Token: 0x06001762 RID: 5986 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001762")]
|
||||
[Address(RVA = "0x2933870", Offset = "0x2932670", VA = "0x182933870")]
|
||||
public static string GetCurrentDirectory()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001763 RID: 5987 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001763")]
|
||||
[Address(RVA = "0x2934220", Offset = "0x2933020", VA = "0x182934220")]
|
||||
internal static string InsecureGetCurrentDirectory()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001764 RID: 5988 RVA: 0x000101E8 File Offset: 0x0000E3E8
|
||||
[Token(Token = "0x6001764")]
|
||||
[Address(RVA = "0x2934450", Offset = "0x2933250", VA = "0x182934450")]
|
||||
private static bool IsRootDirectory(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the parent directory of the specified path, including both absolute and relative paths.</summary>
|
||||
/// <param name="path">The path for which to retrieve the parent directory.</param>
|
||||
/// <returns>The parent directory, or <see langword="null" /> if <paramref name="path" /> is the root directory, including the root of a UNC server or share name.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is read-only.</exception>
|
||||
/// <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. You can query for invalid characters with 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.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. For more information, see the <see cref="T:System.IO.PathTooLongException" /> topic.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified 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">.NET Framework only: The caller does not have the required permissions.</exception>
|
||||
// Token: 0x06001765 RID: 5989 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001765")]
|
||||
[Address(RVA = "0x2934080", Offset = "0x2932E80", VA = "0x182934080")]
|
||||
public static DirectoryInfo GetParent(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001766 RID: 5990 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001766")]
|
||||
[Address(RVA = "0x2933890", Offset = "0x2932690", VA = "0x182933890")]
|
||||
internal static string GetDemandDir(string fullPath, bool thisDirOnly)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x02000282 RID: 642
|
||||
[Token(Token = "0x2000282")]
|
||||
internal sealed class SearchData
|
||||
{
|
||||
// Token: 0x06001767 RID: 5991 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001767")]
|
||||
[Address(RVA = "0x412390", Offset = "0x411190", VA = "0x180412390")]
|
||||
public SearchData(string fullPath, string userPath, SearchOption searchOption)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CB6 RID: 3254
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CB6")]
|
||||
public readonly string fullPath;
|
||||
|
||||
// Token: 0x04000CB7 RID: 3255
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CB7")]
|
||||
public readonly string userPath;
|
||||
|
||||
// Token: 0x04000CB8 RID: 3256
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000CB8")]
|
||||
public readonly SearchOption searchOption;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user