4.11.0
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
andITypeDefOrRef
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
andtype.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
andMethodSignature.CreateInstance
would not set theGeneric
flag in its header when a non-zero generic parameter count was provided (b12957d) - Names of
MethodDefinition
are now properly stored asUtf8String
s instead ofstring
(e888e43) MethodDefinition::FullName()
andMemberReference::FullName()
now include any generic parameters defined in their signatures (bffed66).