Skip to content

6.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@Washi1337 Washi1337 released this 11 Jan 13:05
· 170 commits to master since this release

This is a maintenance release that fixes some shortcomings and addresses various regressions introduced by the refactors in 6.0.0-beta.1.

Similar to 6.0.0-beta.1, this is an unstable release and the public API are still subject to change.

Improvements

  • Add more nullable attributes (#575, #604, thanks @ds5678)
  • Add GenericParameter::Variance property (#578, thanks @ds5678)
  • SentinelTypeSignature is now a singleton (#581, thanks @ds5678)
  • Add Insert and TryGetRidByKey to MetadataTable (0acd8ca)
  • Add support for debug data to be read from EOF / overlay segments (#583, thanks @DaZombieKiller).
  • Add EmptyDebugDataSegment (798a4ed)
  • Add BinaryStreamReader::ReadBytes(int32) (5863886)
  • Let IMetadataTable implement ISegment (9251f19)
  • Add linear sweep blob enumerators for #Blob, #Guid, #Strings and #US streams (b7f67d0).
  • Let all IMetadataRow structures implement IEquatable (aaf4d6e)
  • Ensure a type's namespace is always null or non-empty (#602, thanks @ds5678)
  • Drastically increase the accuracy of IMemberDefinition::IsAccessibleFrom and add analogous CanAccessDefinition methods (71d345f)

Bug Fixes

  • Fix an issue when cloning a method body using MemberCloner would not import calli operands properly (4a02161)
  • Fix an issue where the RSDS parser would incorrectly include a null terminator byte in the PDB path (#584, thanks @Windows10CE)
  • Fix an issue where export directories would be duplicated when using UnmanagedPEFileBuilder (3200229)
  • Fix an issue where zero base relocation blocks were duplicated unnecessarily (fd9cbb5)
  • Fix an issue where in some cases a non-empty import directory would be removed incorrectly if the UnmanagedPEFileBuilder was instructed to not trampoline the IAT (5f65621).
  • Fix an issue where cloned properties and events were not included in the final ClonedMembers collection in MemberCloneResult (#592)
  • Fix an issue where comparing two generic methods using SignatureComparer would result in a different conclusion depending on the order in which the two are passed onto the comparer (#595, thanks @ds5678).
  • Fix an issue when computing the offset range for a single metadata row (e1f3a9c)
  • Fix an issue where some ReadyToRun metadata read from a file would not be assigned an offset/rva (490176a)