CsWinRT
CsWinRT copied to clipboard
Windows.Foundation.Metadata.OverloadAttribute generated even when it is already manually specified.
Describe the bug When authoring WinRT Components, CsWinRT will automatically generate the Overload attribute for you. If I add my own Overload attribute, I expect CsWinRT to not generate one anymore but it still does.
To Reproduce
- Author a WinRT Component with overloaded methods.
- Give one of the overloads the Overload attribute with a custom name.
- See that the method will have two Overload attributes.
Expected behavior That the method only has the Overload attribute I added.
Version Info
CsWinRT: 2.0.7 .NET SDK: 8.0.204 Windows SDK: 10.0.22621.0