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

TypeSignature Compatibility and Assignability Rules #421

Merged
merged 10 commits into from
Mar 19, 2023

Conversation

Washi1337
Copy link
Owner

@Washi1337 Washi1337 commented Mar 15, 2023

Implements the type compatibility and assignability rules as defined in ECMA-335 I.8.7

Introduces:

  • TypeSignature::GetUnderlyingType()
  • TypeSignature::GetReducedType()
  • TypeSignature::GetVerificationType()
  • TypeSignature::GetIntermediateType()
  • TypeSignature::GetDirectBaseClass()
  • TypeSignature::GetDirectlyImplementedInterfaces()
  • TypeSignature::StripModifiers()
  • TypeSignature::IsCompatibleWith(TypeSignature)
  • TypeSignature::IsAssignableTo(TypeSignature)
  • ArrayBaseTypeSignature base class for ArrayTypeSignature and SzArrayTypeSignature.

@Washi1337 Washi1337 added enhancement dotnet Issues related to AsmResolver.DotNet labels Mar 15, 2023
@Washi1337 Washi1337 added this to the 5.2.0 milestone Mar 15, 2023
@Washi1337 Washi1337 changed the base branch from master to development March 15, 2023 14:20
@Washi1337 Washi1337 merged commit e4781b1 into development Mar 19, 2023
@Washi1337 Washi1337 deleted the feature/is-assignable-to branch March 19, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet Issues related to AsmResolver.DotNet enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant