diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 0a88bcafd35d..93de96cbbea7 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -4,13 +4,13 @@ https://github.com/dotnet/installer ae55aee247b7aeb1fef48a3fb1c8b4f6112a2fb3 - + https://github.com/mono/linker - 388fef00320370785b08bbc42dda4a87f3fa38ab + 6bfa2c0657d2dcfd6dce684ab34b470ce567631a - + https://github.com/mono/linker - 388fef00320370785b08bbc42dda4a87f3fa38ab + 6bfa2c0657d2dcfd6dce684ab34b470ce567631a diff --git a/eng/Versions.props b/eng/Versions.props index 530390fe2085..342c3f4bdc11 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -2,7 +2,7 @@ 6.0.100-preview.4.21210.1 - 6.0.100-preview.2.21205.2 - 6.0.100-preview.2.21205.2 + 6.0.100-preview.2.21212.1 + 6.0.100-preview.2.21212.1 diff --git a/tests/common/PlatformInfo.cs b/tests/common/PlatformInfo.cs index f1a3b32095a8..c3a20c62b97a 100644 --- a/tests/common/PlatformInfo.cs +++ b/tests/common/PlatformInfo.cs @@ -125,8 +125,11 @@ public static AvailabilityBaseAttribute Convert (this OSPlatformAttribute a) } bool versioned = Version.TryParse (a.PlatformName [n..], out var v); - if (a is SupportedOSPlatformAttribute) + if (a is SupportedOSPlatformAttribute) { + if (!versioned) + throw new FormatException (a.PlatformName); return new IntroducedAttribute (p, v.Major, v.Minor); + } if (a is UnsupportedOSPlatformAttribute) { // if a version is provided then it means it was deprecated // if no version is provided then it means it's unavailable