Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enum attribute argument. #1827

Merged
merged 2 commits into from
Oct 15, 2024

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

@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
1 check passed
@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