diff --git a/BuildToolsVersion.txt b/BuildToolsVersion.txt index c62266d1d755..e9c0ca996cba 100644 --- a/BuildToolsVersion.txt +++ b/BuildToolsVersion.txt @@ -1 +1 @@ -2.0.0-prerelease-02014-02 +2.0.0-prerelease-02018-01 diff --git a/dir.props b/dir.props index aebbb9ba6849..5c90cfc83ce0 100644 --- a/dir.props +++ b/dir.props @@ -297,6 +297,6 @@ - - + + diff --git a/src/System.Collections.Immutable/src/PEVerifyCompat.rsp b/src/System.Collections.Immutable/src/PEVerifyCompat.rsp new file mode 100644 index 000000000000..0a7805fa7ae9 --- /dev/null +++ b/src/System.Collections.Immutable/src/PEVerifyCompat.rsp @@ -0,0 +1 @@ +/features:peverify-compat \ No newline at end of file diff --git a/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj b/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj index 457c68c3a80a..e33534057228 100644 --- a/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj +++ b/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj @@ -9,6 +9,7 @@ 512 $(OutputPath)$(MSBuildProjectName).xml False + $(MSBuildThisFileDirectory)PEVerifyCompat.rsp;$(CompilerResponseFile) netstandard1.0;portable-net45+win8+wp8+wpa81 diff --git a/src/System.Reflection.Metadata/tests/Metadata/Decoding/SignatureDecoderTests.cs b/src/System.Reflection.Metadata/tests/Metadata/Decoding/SignatureDecoderTests.cs index cecd35b13fad..92d544256376 100644 --- a/src/System.Reflection.Metadata/tests/Metadata/Decoding/SignatureDecoderTests.cs +++ b/src/System.Reflection.Metadata/tests/Metadata/Decoding/SignatureDecoderTests.cs @@ -264,7 +264,7 @@ public void PinnedAndUnpinnedLocals() // Compiler can generate temporaries or re-order so just check the ones we expect are there. // (They could get optimized away too. If that happens in practice, change this test to use hard-coded signatures.) - Assert.Contains("uint8& pinned", localTypes); + Assert.Contains("uint8[] pinned", localTypes); Assert.Contains("uint8[]", localTypes); } } diff --git a/src/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.cs b/src/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.cs index 7dd48e984db0..7d29a45d2b95 100644 --- a/src/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.cs +++ b/src/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.cs @@ -127,8 +127,7 @@ public static IEnumerable GetUninitializedObject_ByRefLikeType_NetCore } #pragma warning disable 0169 // The private field 'class member' is never used - [System.Runtime.CompilerServices.IsByRefLike] - private struct StructWithSpanField + private ref struct StructWithSpanField { Span _bytes; int _position; diff --git a/src/System.Runtime.Serialization.Formatters/tests/System.Runtime.Serialization.Formatters.Tests.csproj b/src/System.Runtime.Serialization.Formatters/tests/System.Runtime.Serialization.Formatters.Tests.csproj index 6caf05cafd25..0b9984d73119 100644 --- a/src/System.Runtime.Serialization.Formatters/tests/System.Runtime.Serialization.Formatters.Tests.csproj +++ b/src/System.Runtime.Serialization.Formatters/tests/System.Runtime.Serialization.Formatters.Tests.csproj @@ -4,6 +4,7 @@ {13CE5E71-D373-4EA6-B3CB-166FF089A42A} true + 7.2 diff --git a/src/System.Runtime/tests/System.Runtime.Tests.csproj b/src/System.Runtime/tests/System.Runtime.Tests.csproj index 31ad12ad06f6..acf928989fce 100644 --- a/src/System.Runtime/tests/System.Runtime.Tests.csproj +++ b/src/System.Runtime/tests/System.Runtime.Tests.csproj @@ -7,6 +7,7 @@ 1718 $(DefineConstants);netcoreapp $(DefineConstants);uapaot + 7.2 diff --git a/src/System.Runtime/tests/System/TypeTests.netcoreapp.cs b/src/System.Runtime/tests/System/TypeTests.netcoreapp.cs index 5d8bb592774e..521ead10e966 100644 --- a/src/System.Runtime/tests/System/TypeTests.netcoreapp.cs +++ b/src/System.Runtime/tests/System/TypeTests.netcoreapp.cs @@ -233,8 +233,7 @@ public static IEnumerable IsByRefLikeTestData } } - [IsByRefLike] - private struct ByRefLikeStruct + private ref struct ByRefLikeStruct { public ByRefLikeStruct(int dummy) {