Skip to content

4.11.0

Compare
Choose a tag to compare
@Washi1337 Washi1337 released this 13 May 14:50
· 709 commits to master since this release
bcfba6b

Note: this is very likely the last minor version bump for version 4 of AsmResolver. We will be working on version 5.0, which will include some breaking changes. There might be a few hotfixes before 5.0 will be merged into master, but no more new features will be introduced until the next major version bump.

New Features

  • Add ModuleDefinition.DefaultImporter reference importer (#302)
  • Add convenience factory methods for building up and importing new type and member references directly from IResolutionScope and ITypeDefOrRef instances (#303, #312)
  • The possibility to define symbols that are local to a single native method body (#305, #310).
  • Add support for 64-bit address relocations in native method bodies (d7e11c8)
  • Reduced boxing of row structures in metadata tables (46f4d09)
  • Updated System.Text.Json to 6.0.4 (#313)

Bug Fixes

  • Fixed a race condition that would result in collections such as type.Methods and type.Fields being initialized incorrectly when accessed from multiple threads at the same time (#299, #300)
  • Fixed an issue where importing an instance field via System.Reflection produced a member reference with an invalid signature (#307, #308)
  • Fixed an issue where MethodSignature.CreateStatic and MethodSignature.CreateInstance would not set the Generic flag in its header when a non-zero generic parameter count was provided (b12957d)
  • Names of MethodDefinition are now properly stored as Utf8Strings instead of string (e888e43)
  • MethodDefinition::FullName() and MemberReference::FullName() now include any generic parameters defined in their signatures (bffed66).