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 Parameter.CreateParameterDefinition helper method #418

Conversation

ElektroKill
Copy link
Contributor

@ElektroKill ElektroKill commented Feb 28, 2023

Changes:

  • Added a new method to Parameter to make the creation of ParameterDefinition objects easier
  • Don't use unbound generic types in virtual hidden this parameter.
  • Fixed a bug that resulted in incorrect parameter count calculation for signatures with ExplicitThis flag set to true.

@Washi1337 Washi1337 added bug enhancement dotnet Issues related to AsmResolver.DotNet labels Mar 1, 2023
@Washi1337 Washi1337 added this to the 5.2.0 milestone Mar 1, 2023
Copy link
Owner

@Washi1337 Washi1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments, but otherwise LGTM.

We probably also want to add a unit test for the new helper method.

Copy link
Owner

@Washi1337 Washi1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for implementing this!

@Washi1337 Washi1337 merged commit a105ac3 into Washi1337:development Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dotnet Issues related to AsmResolver.DotNet enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants