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

Windows.Foundation.Metadata.OverrideAttribute generated even when it is already manually specified. #1569

Open
shmuelie opened this issue Apr 10, 2024 · 0 comments
Labels
authoring Related to authoring feature work bug Something isn't working

Comments

@shmuelie
Copy link

Describe the bug
When authoring WinRT Components, CsWinRT will automatically generate the Override attribute for you. If I add my own Override attribute, I expect CsWinRT to not generate one anymore but it still does.

To Reproduce

  1. Author a WinRT Component with override methods.
  2. Give one of the overrides the Override attribute with a custom name.
  3. See that the method will have two Override attributes.

Expected behavior
That the method only has the Override attribute I added.

Version Info

CsWinRT: 2.0.7
.NET SDK: 8.0.204
Windows SDK: 10.0.22621.0

@shmuelie shmuelie added the bug Something isn't working label Apr 10, 2024
@manodasanW manodasanW added the authoring Related to authoring feature work label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Related to authoring feature work bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants