Skip to content

MetadataAggregator.GetGenerationHandle returns incorrect results for Guid heap handles #113910

@tmat

Description

@tmat

Description

guidSizes is incorrectly accumulated here:

https://github.com/dotnet/runtime/blob/main/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataAggregator.cs#L156

The size of GUID heap in aggregated metadata is the same as the size in the metadata delta where the GUID is used (unlike other heaps).

Regression?

No

Known Workarounds

See dotnet/metadata-tools#308

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions