CsWinRT
CsWinRT copied to clipboard
AOT generator ignores generic classes inheriting from generic types
Describe the bug AOT generator does not generate glue code for generic classes inheriting from generic types, causing the process to crash when trying to use these classes.
To Reproduce
// notice that there's no suggestion to add "partial" if it's missing
public partial class TestCollection<T> : ObservableCollection<T>
{
}
...
myListView.ItemsSource = new TestCollection<string>();
Expected behavior COM glue is properly generated and process won't crash
Version Info
2.1.1