CsWinRT
CsWinRT copied to clipboard
Type Arguments in Attributes Are Always System.Type in the WinMD
Describe the bug
When authoring WinRT Components, CsWinRT will replace the type set in attributes with System.Type in the generated WinMD.
To Reproduce
- Author a WinRT Component that has attributes that take a type parameter, like
ExclusiveToorContractVersion. - See that generated WinMD sets the type to
System.Type, not the type set in C#.
Expected behavior That the attribute have the type set in C#
Version Info CsWinRT: 2.0.7 .NET SDK: 8.0.204 Windows SDK: 10.0.22621.0