This is an implementation of .NET 7's LibraryImport Source Generator. Similar to CsWin32, it creates P/Invoke calls in a performant manner. Not all DllImport calls were converted to the new one, since the source generator couldn't do much with these. It could be combined with #84 to fix this and provide similar improvements to older frameworks.
This is an implementation of .NET 7's
LibraryImport
Source Generator. Similar to CsWin32, it creates P/Invoke calls in a performant manner. Not allDllImport
calls were converted to the new one, since the source generator couldn't do much with these. It could be combined with #84 to fix this and provide similar improvements to older frameworks.