Sfoglia il codice sorgente

Fix unrelated build issues

Maxim Lipnin 7 anni fa
parent
commit
7e737e7cc4

+ 1 - 1
mcs/class/System/monodroid_System.dll.sources

@@ -13,7 +13,7 @@ Mono.Btls/MonoBtlsX509LookupAndroid.cs
 ../../../external/corefx/src/Common/src/Interop/Linux/System.Native/Interop.INotify.cs
 ../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.OpenFlags.cs
-../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.ReadDir.cs
+../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.ReadDir.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.FLock.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Stat.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Poll.cs

+ 1 - 1
mcs/class/System/unix_net_4_x_System.dll.sources

@@ -7,7 +7,7 @@
 ../../../external/corefx/src/Common/src/Interop/Linux/System.Native/Interop.INotify.cs
 ../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.OpenFlags.cs
-../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.ReadDir.cs
+../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.ReadDir.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.FLock.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Stat.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Poll.cs

+ 2 - 0
mcs/class/corlib/System.IO/FileSystem.NotSupported.cs

@@ -10,7 +10,9 @@ namespace System.IO
 		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 ();

+ 1 - 1
mcs/class/corlib/unix_build_corlib.dll.sources

@@ -22,7 +22,7 @@
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.UTime.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.RmDir.cs
 ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.MountPoints.cs
-../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.ReadDir.cs
+../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.ReadDir.cs
 ../../../external/corefx/src/Common/src/Microsoft/Win32/SafeHandles/SafeDirectoryHandle.Unix.cs
 
 ../../../external/corefx/src/Common/src/System/IO/DriveInfoInternal.Unix.cs