Skip to content

Conversation

@dongle-the-gadget
Copy link
Contributor

@dongle-the-gadget dongle-the-gadget commented Oct 15, 2024

Fixes #1825.

Even though TaggedScalar would look more correct, it looks like the actual C# compiler use Scalar instead. This is mentioned on win32metadata: https://github.com/microsoft/win32metadata/blob/527806d20d83d3abd43d16cd3fa8795d8deba343/sources/MetadataUtils/EncodeHelpers.cs#L125-L129

Co-authored-by: Sergio Pedri <sergio0694@live.com>
@manodasanW
Copy link
Member

Thanks, confirmed things work with the change and the CI pipeline passed.

@manodasanW manodasanW merged commit ce2ef94 into microsoft:master Oct 15, 2024
@dongle-the-gadget dongle-the-gadget deleted the enums-in-attributes branch October 15, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MarshalingBehaviorAttribute and ThreadingAttribute Emitted into WinMD invalid

3 participants