linux-packaging-mono/mcs/class/corlib/System.IO/FileSystem.NotSupported.cs
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

28 lines
2.4 KiB
C#

namespace System.IO
{
internal static partial class FileSystem
{
public static void CopyFile(string sourceFullPath, string destFullPath, bool overwrite) => throw new PlatformNotSupportedException ();
public static void ReplaceFile(string sourceFullPath, string destFullPath, string destBackupFullPath, bool ignoreMetadataErrors) => throw new PlatformNotSupportedException ();
public static void MoveFile(string sourceFullPath, string destFullPath) => throw new PlatformNotSupportedException ();
public static void DeleteFile(string fullPath) => throw new PlatformNotSupportedException ();
public static void CreateDirectory(string fullPath) => throw new PlatformNotSupportedException ();
public static void MoveDirectory(string sourceFullPath, string destFullPath) => throw new PlatformNotSupportedException ();
public static void RemoveDirectory(string fullPath, bool recursive) => throw new PlatformNotSupportedException ();
public static bool DirectoryExists(string fullPath) => throw new PlatformNotSupportedException ();
public static bool DirectoryExists(ReadOnlySpan<char> fullPath) => throw new PlatformNotSupportedException ();
public static bool FileExists(string fullPath) => throw new PlatformNotSupportedException ();
public static bool FileExists(ReadOnlySpan<char> fullPath) => throw new PlatformNotSupportedException ();
public static FileAttributes GetAttributes(string fullPath) => throw new PlatformNotSupportedException ();
public static void SetAttributes(string fullPath, FileAttributes attributes) => throw new PlatformNotSupportedException ();
public static DateTimeOffset GetCreationTime(string fullPath) => throw new PlatformNotSupportedException ();
public static void SetCreationTime(string fullPath, DateTimeOffset time, bool asDirectory) => throw new PlatformNotSupportedException ();
public static DateTimeOffset GetLastAccessTime(string fullPath) => throw new PlatformNotSupportedException ();
public static void SetLastAccessTime(string fullPath, DateTimeOffset time, bool asDirectory) => throw new PlatformNotSupportedException ();
public static DateTimeOffset GetLastWriteTime(string fullPath) => throw new PlatformNotSupportedException ();
public static void SetLastWriteTime(string fullPath, DateTimeOffset time, bool asDirectory) => throw new PlatformNotSupportedException ();
public static string[] GetLogicalDrives() => throw new PlatformNotSupportedException ();
}
}