-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle NativeLibrary.GetExport/Free on libs not loaded through Native…
…Library.*Load* on Mono. (#47705) Handle NativeLibrary.GetExport on libs loaded with Interop.Kernel32.LoadLibraryEx. #47013 changed how kernel32.dll and Ws2_32.dll gets loaded on Windows. Instead of loading using NativeLibrary.Load these system libraries are now loaded directly using LoadLibraryEx, but symbols are still handled through NativeLibrary. This short-circuits some logic in Mono that assumes all libraries gets loaded through NativeLibrary.Load. Fix adds ability to use passed in HMODULE when not finding a matching library in our native library cache and use it directly, inline with CoreClr behavior. * Handle NativeLibrary GetExport/Free using IntPtr library OS handle xplat. * Disable additional System.Drawing.Common tests due to missing COM support.
- Loading branch information
1 parent
d830a7d
commit 6c56444
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters