Page MenuHomePhabricator

C#: Evaluate dropping `FunctionWrapper` and `NativeModule` and bringing back `DllImport`
Open, NormalPublic

Description

These two classes were added with the initial support dotnet earlier this year (D8069) and are used to support some issues with DllImport in dotnet.

With the advent of dotnet core 3.0 (and almost 1 year since 2.2), we could try to drop them and check if plain DllImport works again for both mono and dotnet.

Issue in dotnet github tracking the API that will help dllmap: (NativeLibrary.cs): https://github.com/dotnet/corefx/issues/32015
dotnet page about dllmap: https://github.com/dotnet/coreclr/blob/master/Documentation/design-docs/dllmap.md

lauromoura triaged this task as Normal priority.
YOhoho added a subscriber: YOhoho.Jan 13 2020, 12:14 AM