Make System.Runtime.CompilerServices.Unsafe inbox (dotnet/corefx#35526)
authorEric StJohn <ericstj@microsoft.com>
Sat, 23 Feb 2019 02:20:16 +0000 (18:20 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sat, 23 Feb 2019 02:20:16 +0000 (18:20 -0800)
commit20f107e1bbe1194fa4757badb86a9e651e314d4a
tree67fdf5107a906c26dd19ec85c870a7e61b89f595
parent969e64ba4ee481d3f8d7070f5571bb6a452fec64
Make System.Runtime.CompilerServices.Unsafe inbox (dotnet/corefx#35526)

* Make System.Runtime.CompilerServices.Unsafe inbox

Fix a couple places where we wanted to use it from other inbox assemblies but couldn't.

Unsafe remains as a package and newer versions of Unsafe will replace the inbox Version,
permitting us to add API over time.

* Update Rune tests to use TryEncodeToUtf8Bytes directly

* Add temporary suppression to package tests

Commit migrated from https://github.com/dotnet/corefx/commit/9074d9f5b513a95b7eac9ba1112069c29230d1d2
src/libraries/System.Runtime.CompilerServices.Unsafe/Directory.Build.props
src/libraries/System.Runtime.CompilerServices.Unsafe/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj
src/libraries/System.Runtime.Serialization.Formatters/src/System.Runtime.Serialization.Formatters.csproj
src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryFormatterWriter.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/Text/RuneTests.netcoreapp.cs
src/libraries/System.Text.Json/src/System.Text.Json.csproj
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/JsonReaderHelper.cs
src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json
src/libraries/pkg/test/frameworkSettings/netcoreapp3.0/settings.targets