Open buyaa-n opened 8 months ago
It's probably an issue on the reading side - maybe somewhere in https://github.com/dotnet/runtime/blob/main/src/mono/mono/metadata/class.c#L5580-L5649
Tagging subscribers to this area: @dotnet/area-system-reflection See info in area-owners.md if you want to be subscribed.
Author: | buyaa-n |
---|---|
Assignees: | - |
Labels: | `area-System.Reflection`, `runtime-mono`, `area-System.Reflection-mono` |
Milestone: | 9.0.0 |
A Field RVA alignment test is failing on mono legs in this PR
That verifies the code section:
https://github.com/dotnet/runtime/blob/f36b7cded294d07962060856843c5fa8ec1beb7d/src/libraries/System.Reflection.Emit/src/System/Reflection/Emit/ModuleBuilderImpl.cs#L452-L454
Not sure if it is bug or expected, I don't see mono specific code in
MetadataBuilder
nor inBlobBuilder.Align(int)
https://github.com/dotnet/runtime/blob/72c4c57a3c8c1b267447f253fdc14f9d14d91a2b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobBuilder.cs#L808-L812