Merge branch 'upstream'

Former-commit-id: 672e408b8b87dc6e2efaef1edbee67e69dcfaf17
This commit is contained in:
Xamarin Public Jenkins (auto-signing) 2018-02-21 08:46:49 +00:00
commit 10f7e6778f
35 changed files with 52 additions and 35 deletions

View File

@ -1 +1 @@
21aa3c78c535a77efc5486d2beee95df662db20d 5b02d173c15b509380185dfc6bb06fde914fbde7

View File

@ -1 +1 @@
a7e7548d78cf0e90a5385b2b99ede5398e7558b7 4b136661d4fc7104dbd8952f3ce47b7fd4919b23

View File

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

View File

@ -28,6 +28,7 @@
using NUnit.Framework; using NUnit.Framework;
using System; using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Linq; using System.Linq;
@ -36,10 +37,22 @@ namespace MonoTests.System.Runtime.CompilerServices
[TestFixture] [TestFixture]
public class RuntimeFeatureTest public class RuntimeFeatureTest
{ {
readonly (string, bool)[] ExpectedFeatures = new [] { readonly Dictionary<string, bool> ExpectedFeatures = new Dictionary<string, bool> {
("PortablePdb", true) {"PortablePdb", true}
}; };
[Test]
public void PortablePdbSupported ()
{
Assert.IsTrue (RuntimeFeature.IsSupported (RuntimeFeature.PortablePdb));
}
[Test]
public void NonExistingFeatureNotSupported ()
{
Assert.IsFalse (RuntimeFeature.IsSupported ("foo"));
}
[Test] [Test]
public void NoNewFeaturesAdded () public void NoNewFeaturesAdded ()
{ {
@ -47,11 +60,15 @@ namespace MonoTests.System.Runtime.CompilerServices
var features = from field in t.GetFields() var features = from field in t.GetFields()
where field.FieldType == typeof (string) where field.FieldType == typeof (string)
let value = field.GetValue (null) let value = field.GetValue (null)
select ( select new KeyValuePair<string, bool> (
field.Name, field.Name,
RuntimeFeature.IsSupported ((string)value) RuntimeFeature.IsSupported ((string)value)
); );
Assert.AreEqual (ExpectedFeatures, features.ToArray ());
if (features.Count() == 0)
Assert.Inconclusive ("No features found, this can happen when running the linker.");
CollectionAssert.AreEquivalent (ExpectedFeatures, features.ToDictionary (k => k.Key, v => v.Value));
} }
} }
} }

View File

@ -1 +1 @@
b510e8bff1113be7a9a1d62060a5efcdb7bdcc12 26ea60ec41ad2706e3bae8d3a2064124e86ba579

View File

@ -1 +1 @@
bcce3c2ded0ad00bb49a3469f38302367003ade6 eab35ff7cf70feda7b2fe9be9a3f41e44e2fcd16

View File

@ -1 +1 @@
84849ae2d0369cd97bf2cd870cf694cc97fde651 22d78d26fdb7091c7fb1aeb34020e5a174443ef1

View File

@ -1 +1 @@
2b7060d86b43aafbf55b39fb1f170906ccd47e86 b5dcf3ba8e3d663ac68168bcbaceb0c37ba70470

View File

@ -1 +1 @@
c60c1a782d836c859abeb9503f345353c8ec1997 65174aa10ad5127ea9241e44a005688ac56f69a1

View File

@ -1 +1 @@
ba2a1d3760b8dd2d67125c6027177bacf92f73ff 526a8bd343958be03f0d9536878f174c176632e6

View File

@ -1 +1 @@
ad3cffdf7ffb10dbdd82ec7b7ffc84a1d3a61480 eec0952259611a7cdb73f8953f0aa80e1bb28ca1

View File

@ -1 +1 @@
b510e8bff1113be7a9a1d62060a5efcdb7bdcc12 26ea60ec41ad2706e3bae8d3a2064124e86ba579

View File

@ -1 +1 @@
bcce3c2ded0ad00bb49a3469f38302367003ade6 eab35ff7cf70feda7b2fe9be9a3f41e44e2fcd16

View File

@ -1 +1 @@
84849ae2d0369cd97bf2cd870cf694cc97fde651 22d78d26fdb7091c7fb1aeb34020e5a174443ef1

View File

@ -1 +1 @@
2b7060d86b43aafbf55b39fb1f170906ccd47e86 b5dcf3ba8e3d663ac68168bcbaceb0c37ba70470

View File

@ -1 +1 @@
c60c1a782d836c859abeb9503f345353c8ec1997 65174aa10ad5127ea9241e44a005688ac56f69a1

View File

@ -1 +1 @@
ba2a1d3760b8dd2d67125c6027177bacf92f73ff 526a8bd343958be03f0d9536878f174c176632e6

View File

@ -1 +1 @@
ad3cffdf7ffb10dbdd82ec7b7ffc84a1d3a61480 eec0952259611a7cdb73f8953f0aa80e1bb28ca1

View File

@ -1 +1 @@
b510e8bff1113be7a9a1d62060a5efcdb7bdcc12 26ea60ec41ad2706e3bae8d3a2064124e86ba579

View File

@ -1 +1 @@
bcce3c2ded0ad00bb49a3469f38302367003ade6 eab35ff7cf70feda7b2fe9be9a3f41e44e2fcd16

View File

@ -1 +1 @@
84849ae2d0369cd97bf2cd870cf694cc97fde651 22d78d26fdb7091c7fb1aeb34020e5a174443ef1

View File

@ -1 +1 @@
2b7060d86b43aafbf55b39fb1f170906ccd47e86 b5dcf3ba8e3d663ac68168bcbaceb0c37ba70470

View File

@ -1 +1 @@
c60c1a782d836c859abeb9503f345353c8ec1997 65174aa10ad5127ea9241e44a005688ac56f69a1

View File

@ -1 +1 @@
ba2a1d3760b8dd2d67125c6027177bacf92f73ff 526a8bd343958be03f0d9536878f174c176632e6

View File

@ -1 +1 @@
ad3cffdf7ffb10dbdd82ec7b7ffc84a1d3a61480 eec0952259611a7cdb73f8953f0aa80e1bb28ca1

View File

@ -1 +1 @@
#define FULL_VERSION "explicit/177997b" #define FULL_VERSION "explicit/721462c"

Binary file not shown.

View File

@ -1 +1 @@
ed4688778a6df6c2d3d96079e1b9205b1592f8f9 96de3711fb0e7e0745090fb28ce7e413865d3d6c

Binary file not shown.

View File

@ -1 +1 @@
89e7d6618b23c23978990c607190330791eb47eb a49521c9bc5d47345bfd86b06db557dc7b470364

Binary file not shown.

View File

@ -1 +1 @@
d0b3ad9bcaff032dd3f277ca570a8418b25b1df2 3e259f60b248dbce346c05b52b2e3b71840f8692

View File

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: mono 5.10.0.129\n" "Project-Id-Version: mono 5.10.0.130\n"
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n" "Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
"POT-Creation-Date: 2018-02-19 18:52+0000\n" "POT-Creation-Date: 2018-02-21 08:19+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"

Binary file not shown.

View File

@ -1 +1 @@
c84d08da2af74fc873c2a68a30ca6eda9311e385 c68519e77c2dcd54e02740009a95651d45f526db