DependencyObjectGenerator does not support generic classes #19540
Labels
area/code-generation
Categorizes an issue or PR as relevant to code generation
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
Defining a
public partial class MyClass<T> : DependencyObject
results in generating something like:And a build error stating
Workaround
Can get the build to pass by adding an empty non-generic
MyClass
definition that inherits from DependencyObject:public partial class MyClass<T> : DependencyObject { }
UnoApp139.zip
The text was updated successfully, but these errors were encountered: