Revert "Expose Marshall.LoadLibrary API" (dotnet/corefx#34322)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Thu, 3 Jan 2019 04:53:10 +0000 (20:53 -0800)
committerJan Kotas <jkotas@microsoft.com>
Thu, 3 Jan 2019 04:53:10 +0000 (18:53 -1000)
commit9082aff823147f075c7506421a9647bce18d6c9e
tree6e8c0473f61b638c33967fdf81e47016f08c8802
parent0964672cf12a84ae5217134b073496c8d03643a2
Revert "Expose Marshall.LoadLibrary API" (dotnet/corefx#34322)

In API review: https://github.com/dotnet/corefx/issues/32015,

The LoadLibrary APIs were originally Approved to live in
System.Runtime.InteropServices.Marshal class.
https://github.com/dotnet/corefx/issues/32015#issuecomment-428775858

However, recently the decision was changed such that the APIs are in a new NativeLibrary class.
https://github.com/dotnet/corefx/issues/32015#issuecomment-448324606

Therefore, undoing the changes to Marshal API.
I'll submit another PR for System.Runtime.InteropServices.NativeLibrary
once the corresponding change in CoreCLR is checked in.

This reverts commit dotnet/corefx@859351c2f65e73e94c9c40983e53b33c5b45014a.

Commit migrated from https://github.com/dotnet/corefx/commit/6d59e6ab54bb313ea5eb6a809dc64a7cebe8ee64
src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj
src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.netcoreapp.cs [deleted file]