ILPack
ILPack copied to clipboard
Serialize .NET Core assemblies
I've just discovered that AssemblyBuilder.SetEntryPoint is not available in .NET >= 5. I wonder/hope if its functionality is something that could be included in ILPAck. https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.assemblybuilder.setentrypoint?view=netframework-4.8
Any chance that ILPack could add support for saving a `DynamicMethod` to disk in a dll form? This would help in analyzing bugs in lightweight code gen.
The current implementation of the inline signature parser handles all native types, user-defined types, and even generics correctly. The only possible use case that is not handled by this implementation...
I've discovered what I think is a breaking change in .NET 8.0 (and 7) which will affect the use of ILPack. I'm writing it up here in case anyone is...
If you try to emit a class that implements an interface with a [default interface method](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/default-interface-methods), and the class does not override the defaulted method, the resulting assembly crashes the...
When saving an assemblybuilder to file I had two issues. First one was a reference which could not be found when a type of a references assembly was passed as...
For as far as i have used this, AssemblyGenerator.GenerateAssemblyBytes() seems to work for most assemblies present in application memory, but unfortunately not for 'System.Private.CoreLib'. It specifically throws; System.ArgumentException: 'Type cannot...