You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Avalonia 11.2.0 and upper, we get this compilation error:
Error AVLN3000 Avalonia: Unable to find suitable setter or adder for property DialogClosing of type DialogHost.Avalonia:DialogHostAvalonia.DialogHost for argument System.Runtime:System.String, available setter parameter lists are:
System.EventHandler`1<Avalonia.Interactivity.RoutedEventArgs> Line 11, position 5.
To Reproduce
Create non generic routed event, create xaml event subscription to method, try to compile.
Can be reproduced by cloning and building this commit
Expected behavior
Error message should be more precise
Avalonia version
11.2.x
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Usually we register the routed events like this:
but in some old code field type can be without generic, e.g.
In this case if we try to add event handler method in xaml markup:
in Avalonia 11.2.0 and upper, we get this compilation error:
To Reproduce
Create non generic routed event, create xaml event subscription to method, try to compile.
Can be reproduced by cloning and building this commit
Expected behavior
Error message should be more precise
Avalonia version
11.2.x
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: