Skip to content

4.8.0

Choose a tag to compare

@Washi1337 Washi1337 released this 29 Dec 22:55
· 1353 commits to master since this release
84cb170

New Features

  • .NET 6.0 CorLib support (#228, thanks @ds5678)
  • Read/Write support for resource sets stored in .resources manifest resource files (#169, #216)
  • Read/Write support TLS data directories (#207, #218)
  • The concept of target platforms, represented by Platform classes. These are architecture specific services such as creating unmanaged thunk stubs. This simplifies the builder API a lot and removes the need for all BootstrapperSegment classes. Built-in support for i386 and AMD64 architectures.
  • Read/Write support for method definitions that are exported by a PE header export entry (#178, #179, #230).
  • Undocumented OS masks to MachineType (0149d5f).
  • ModuleDefinition.FromModule convenience method to load a module from a System.Reflection.Module instance (#233, #234).
  • Various convenience Win32 resource directory traversal methods (#220)
  • GenericContext now supports partial resolution of generic parameters within signatures + GenericContext.FromXXX convenience methods (#225, thanks @JPaja).
  • BlobStream, StringsStream, UserStringsStream and GuidStream now come with a TryFindXXXIndex method for finding an index of an existing blob (#227, #229).
  • XML documentation for all CIL opcodes (#231, thanks @ds5678).
  • Reduced the use of seeking in the output file when writing large .NET modules (#232).

Bug Fixes

  • Fixed an issue where FieldDefinition.IsAccessibleFromType returned the wrong result when the declaring type was accessible (#217, thanks @ElektroKill)
  • Fixed an issue where TypeNameBuilder did not parse generic type arguments properly (#222, #223, thanks @JPaja).
  • Fixed an issue where a CustomAttribute with a null argument on a System.Type parameter would parse incorrectly (#224).
  • Fixed an issue where DotNetDirectoryFlags.ILLibrary was incorrectly used to identify whether the output file needs an entrypoint or not (2b32f30)
  • Fixed an issue where AssemblyDefinition.Write would not work properly when providing a relative path as output file path (#238, thanks @ds5678)
  • Fixed an issue regarding the selection of GAC directories during assembly resolution (#240, #242)
  • Fixed an issue regarding method resolution that do not use the HideBySig flag (e.g. in modules written in VB.NET) (#241, #243)