Move Native Library APIs to NativeLibrary class (#21821)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Sun, 6 Jan 2019 00:40:59 +0000 (16:40 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sun, 6 Jan 2019 00:40:59 +0000 (16:40 -0800)
commit110835b1b818b333f27ab76db3f223a03027698a
tree72b080215d0ade7e583ba2e1560e21548d54fedb
parentdcf9f36c21022b8fce374559ec5fea8d11a0852b
Move Native Library APIs to NativeLibrary class (#21821)

Move APIs that manipulate native libraries from
System.Runtime.InteropServices.Marshal class to the new
System.Runtime.InteropServices.NativeLibrary class.

In API review: #32015,
The LoadLibrary APIs were originally Approved to live in
System.Runtime.InteropServices.Marshal class.

However, recently the decision was changed such that the APIs are
in a new NativeLibrary class.
16 files changed:
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs
src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.cs [new file with mode: 0644]
src/vm/CMakeLists.txt
src/vm/ecalllist.h
src/vm/marshalnative.cpp
src/vm/marshalnative.h
src/vm/mscorlib.cpp
src/vm/nativelibrarynative.cpp [new file with mode: 0644]
src/vm/nativelibrarynative.h [new file with mode: 0644]
tests/src/Interop/CMakeLists.txt
tests/src/Interop/MarshalAPI/NativeLibrary/NativeLibraryTests.cs [deleted file]
tests/src/Interop/NativeLibrary/CMakeLists.txt [moved from tests/src/Interop/MarshalAPI/NativeLibrary/CMakeLists.txt with 100% similarity]
tests/src/Interop/NativeLibrary/NativeLibrary.cpp [moved from tests/src/Interop/MarshalAPI/NativeLibrary/NativeLibrary.cpp with 100% similarity]
tests/src/Interop/NativeLibrary/NativeLibraryTests.cs [new file with mode: 0644]
tests/src/Interop/NativeLibrary/NativeLibraryTests.csproj [moved from tests/src/Interop/MarshalAPI/NativeLibrary/NativeLibraryTests.csproj with 95% similarity]