Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit 6d59e6a

Browse files
swaroop-sridharjkotas
authored andcommitted
Revert "Expose Marshall.LoadLibrary API" (#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 859351c.
1 parent 83e4685 commit 6d59e6a

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</PropertyGroup>
1010
<ItemGroup>
1111
<Compile Include="System.Runtime.InteropServices.cs" />
12-
<Compile Condition="'$(TargetsNetCoreApp)' == 'true'" Include="System.Runtime.InteropServices.netcoreapp.cs" />
1312
</ItemGroup>
1413
<ItemGroup>
1514
<ProjectReference Include="..\..\System.Reflection\ref\System.Reflection.csproj" />

src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.netcoreapp.cs

-20
This file was deleted.

0 commit comments

Comments
 (0)