Expose NativeLibrary Resolver Callback (dotnet/corefx#34686)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Fri, 25 Jan 2019 19:58:53 +0000 (11:58 -0800)
committerGitHub <noreply@github.com>
Fri, 25 Jan 2019 19:58:53 +0000 (11:58 -0800)
commit30cc9c416e31452ccb797a3a0cf4d141fe3ff1c0
treedb9dd2dac7b02c5fa7fdd8e9d84acbd529420098
parent59d98ad67dfcaf29d0b0e968ed5690f1219adff4
Expose NativeLibrary Resolver Callback (dotnet/corefx#34686)

Expose the APIs to set the Native Library resolver callback.

API Review:
https://github.com/dotnet/corefx/issues/32015

Implementation:
https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.cs

Tests:
https://github.com/dotnet/coreclr/blob/master/tests/src/Interop/NativeLibraryResolveCallback/CallbackTests.cs

Commit migrated from https://github.com/dotnet/corefx/commit/bcb76015585c91a1dfa63df68ef392bed317e8dd
src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs
src/libraries/System.Runtime.InteropServices/src/ApiCompatBaseline.netcoreappaot.txt
src/libraries/System.Runtime.InteropServices/src/ApiCompatBaseline.uapaot.txt