Imported Upstream version 6.0.0.265

Former-commit-id: e0ef9e54469db4958572c478db7f39198da10cad
This commit is contained in:
Xamarin Public Jenkins (auto-signing) 2019-05-28 08:47:15 +00:00
parent 3d63c66c1d
commit 8f11a00d09
52 changed files with 70 additions and 38 deletions

View File

@ -1 +1 @@
ba1784f90767e3d03c6b54bf98772182d52e800b
e51c0e1f864d708f76cd1c664b2e141b1248df61

View File

@ -1 +1 @@
b47556c41715a88e1a5e14e5b839a3f1394745dd
f4d1ed8dc18898ec8c74a2831a50329d54f05d95

View File

@ -93,7 +93,11 @@ namespace System.IO
return s_osEnabled == State.True;
}
#if MONO && MOBILE
private static bool RtlAreLongPathsEnabled() => throw new PlatformNotSupportedException();
#else
[DllImport("ntdll", ExactSpelling = true)]
private static extern bool RtlAreLongPathsEnabled();
#endif
}
}

View File

@ -9,9 +9,13 @@ namespace System.Net.Test.Common
{
public static partial class Capability
{
#if MONO && MOBILE
private static int RtlGetVersion(ref RTL_OSVERSIONINFOW lpVersionInformation) => throw new PlatformNotSupportedException();
#else
// TODO: Using RtlGetVersion is temporary until issue #4741 gets resolved.
[DllImport("ntdll", CharSet = CharSet.Unicode)]
private static extern int RtlGetVersion(ref RTL_OSVERSIONINFOW lpVersionInformation);
#endif
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
private struct RTL_OSVERSIONINFOW

View File

@ -8,6 +8,15 @@ using System.Text;
internal static class DllImports
{
#if MONO && MOBILE
internal static int GetLogicalDrives() => throw new PlatformNotSupportedException();
internal static bool GetDiskFreeSpaceEx(String drive, out long freeBytesForUser, out long totalBytes, out long freeBytes) => throw new PlatformNotSupportedException();
internal static bool GetVolumeInformation(String drive, [Out]StringBuilder volumeName, int volumeNameBufLen, out int volSerialNumber, out int maxFileNameLen, out int fileSystemFlags, [Out]StringBuilder fileSystemName, int fileSystemNameBufLen) => throw new PlatformNotSupportedException();
internal static int GetDriveType(string drive) => throw new PlatformNotSupportedException();
#else
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern int GetLogicalDrives();
@ -19,5 +28,6 @@ internal static class DllImports
[DllImport("kernel32.dll", EntryPoint = "GetDriveTypeW", CharSet = CharSet.Unicode, SetLastError = true, BestFitMapping = false)]
internal static extern int GetDriveType(string drive);
#endif
}

View File

@ -21,6 +21,11 @@ using System.Threading;
using System.Threading.Tasks;
public static class MountHelper
{
#if MONO && MOBILE
private static bool GetVolumeNameForVolumeMountPoint(String volumeName, StringBuilder uniqueVolumeName, int uniqueNameBufferCapacity) => throw new PlatformNotSupportedException();
private static bool SetVolumeMountPoint(String mountPoint, String uniqueVolumeName) => throw new PlatformNotSupportedException();
private static bool DeleteVolumeMountPoint(String mountPoint) => throw new PlatformNotSupportedException();
#else
[DllImport("kernel32.dll", EntryPoint = "GetVolumeNameForVolumeMountPointW", CharSet = CharSet.Unicode, BestFitMapping = false, SetLastError = true)]
private static extern bool GetVolumeNameForVolumeMountPoint(String volumeName, StringBuilder uniqueVolumeName, int uniqueNameBufferCapacity);
// unique volume name must be "\\?\Volume{GUID}\"
@ -28,6 +33,7 @@ public static class MountHelper
private static extern bool SetVolumeMountPoint(String mountPoint, String uniqueVolumeName);
[DllImport("kernel32.dll", EntryPoint = "DeleteVolumeMountPointW", CharSet = CharSet.Unicode, BestFitMapping = false, SetLastError = true)]
private static extern bool DeleteVolumeMountPoint(String mountPoint);
#endif
/// <summary>Creates a symbolic link using command line tools</summary>
/// <param name="linkPath">The existing file</param>

View File

@ -64,8 +64,12 @@ namespace System.Tests
private static extern long sysconf(int name);
#endif
#if MONO && MOBILE
internal static void GetSystemInfo(ref SYSTEM_INFO lpSystemInfo) => throw new PlatformNotSupportedException();
#else
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern void GetSystemInfo(ref SYSTEM_INFO lpSystemInfo);
#endif
[StructLayout(LayoutKind.Sequential)]
internal struct SYSTEM_INFO

View File

@ -41,7 +41,7 @@ static partial class Consts
// Use these assembly version constants to make code more maintainable.
//
public const string MonoVersion = "6.0.0.259";
public const string MonoVersion = "6.0.0.265";
public const string MonoCompany = "Mono development team";
public const string MonoProduct = "Mono Common Language Infrastructure";
public const string MonoCopyright = "(c) Various Mono authors";

View File

@ -0,0 +1,2 @@
#include monotouch_System.dll.exclude.sources

View File

@ -0,0 +1,2 @@
#include monotouch_System.dll.exclude.sources

View File

@ -1 +1 @@
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
203435678f5d99962a59b166c6f8477089409e69

View File

@ -1 +1 @@
04f97c37b51e418ea1af197553131047499cab62
75c33dc1e1f39d6be5d4248fd53e053850bf623c

View File

@ -1 +1 @@
296b6252413645b66b0b30a8113ce75b75c11cd9
6fd5e0f9295d73cc23d2ea00c89d6afe63e90249

View File

@ -1 +1 @@
57ded3591080d30e69c5d29606e1f6791f91ce66
4d8afb8824c1057b2cf667f4ca4a0c15b195c478

View File

@ -1 +1 @@
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
b76682372cbd0666707115605695df85d1184dcc

View File

@ -1 +1 @@
aaee731cfa5a449be1adca8388869d1139f5fcc9
08876e557061e83f44045fddb04a71731a88682e

View File

@ -1 +1 @@
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
87311132b75300d9386c73dfd439125bff2d7e00

View File

@ -1 +1 @@
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
203435678f5d99962a59b166c6f8477089409e69

View File

@ -1 +1 @@
04f97c37b51e418ea1af197553131047499cab62
75c33dc1e1f39d6be5d4248fd53e053850bf623c

View File

@ -1 +1 @@
296b6252413645b66b0b30a8113ce75b75c11cd9
6fd5e0f9295d73cc23d2ea00c89d6afe63e90249

View File

@ -1 +1 @@
57ded3591080d30e69c5d29606e1f6791f91ce66
4d8afb8824c1057b2cf667f4ca4a0c15b195c478

View File

@ -1 +1 @@
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
b76682372cbd0666707115605695df85d1184dcc

View File

@ -1 +1 @@
aaee731cfa5a449be1adca8388869d1139f5fcc9
08876e557061e83f44045fddb04a71731a88682e

View File

@ -1 +1 @@
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
87311132b75300d9386c73dfd439125bff2d7e00

View File

@ -1 +1 @@
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
203435678f5d99962a59b166c6f8477089409e69

View File

@ -1 +1 @@
04f97c37b51e418ea1af197553131047499cab62
75c33dc1e1f39d6be5d4248fd53e053850bf623c

View File

@ -1 +1 @@
296b6252413645b66b0b30a8113ce75b75c11cd9
6fd5e0f9295d73cc23d2ea00c89d6afe63e90249

View File

@ -1 +1 @@
57ded3591080d30e69c5d29606e1f6791f91ce66
4d8afb8824c1057b2cf667f4ca4a0c15b195c478

View File

@ -1 +1 @@
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
b76682372cbd0666707115605695df85d1184dcc

View File

@ -1 +1 @@
aaee731cfa5a449be1adca8388869d1139f5fcc9
08876e557061e83f44045fddb04a71731a88682e

View File

@ -1 +1 @@
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
87311132b75300d9386c73dfd439125bff2d7e00

View File

@ -1 +1 @@
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
203435678f5d99962a59b166c6f8477089409e69

View File

@ -1 +1 @@
04f97c37b51e418ea1af197553131047499cab62
75c33dc1e1f39d6be5d4248fd53e053850bf623c

View File

@ -1 +1 @@
5227c8dd888613f7417c6cb07fcf63e6eb8ac414
41b40e229958fb221257259d5603548f2de30e2d

View File

@ -1 +1 @@
57ded3591080d30e69c5d29606e1f6791f91ce66
4d8afb8824c1057b2cf667f4ca4a0c15b195c478

View File

@ -1 +1 @@
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
b76682372cbd0666707115605695df85d1184dcc

View File

@ -1 +1 @@
aaee731cfa5a449be1adca8388869d1139f5fcc9
08876e557061e83f44045fddb04a71731a88682e

View File

@ -1 +1 @@
959bead42951eae0826089d7f5f362c24d98b6aa
5b243fb63e09df568d8dfee692ee260f67e5435b

View File

@ -1 +1 @@
#define FULL_VERSION "explicit/86f0cac"
#define FULL_VERSION "explicit/6d50c16"

Binary file not shown.

View File

@ -1 +1 @@
868e5e4c4e91160844ae8170d6f31d7d856bdc4d
748226ad2dd28e10586eba9ed5b2b88e67929e2b

Binary file not shown.

View File

@ -1 +1 @@
0c437bf63438c0de2fef22bea72de07f05866810
1e6e5daabeb3287ed4817f29d4b19868dc101b76

Binary file not shown.

View File

@ -1 +1 @@
171550bdaf3f08ff32d2762958ea423a7a4e3c53
2cb750b9a0330f71d3ed3597800515b5cd12b582

View File

@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: mono 6.0.0.259\n"
"Project-Id-Version: mono 6.0.0.265\n"
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
"POT-Creation-Date: 2019-05-25 08:09+0000\n"
"POT-Creation-Date: 2019-05-28 08:10+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Binary file not shown.

View File

@ -1 +1 @@
3b0c031d6d068f82b69a288a27e8c284de07f4f2
050d090f0f29c06c1319918675218ba0654d7d30