Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .NET 8.0 and DynamicILInfo to DynamicMethodBodyReader #508

Merged
merged 2 commits into from
Jul 9, 2023

Conversation

ElektroKill
Copy link
Contributor

.NET 8 changed the following:

  • DynamicMethod.m_resolver ->DynamicMethod._resolver - This field is used by DynamicMethodBodyReader to retrieve the DynamicResolver instance.
  • ILGnerator became an abstract class and the actual implementation was moved to RuntimeILGenerator - MethodTableToTypeConverter accesses a private field in the ILGenerator implementation and needed to be updated to check RuntimeILGenerator

I've also added support for DynamicMethodBodyReader to consume dynamic methods created from a DynamicILInfo which were not jet used as part of an invocation or a delegate.

@wtfsck wtfsck merged commit c7de9fa into 0xd4d:master Jul 9, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants