Using RoutedEvent<T>
with custom event args type results in two global::
declarations
#70
Labels
bug
Something isn't working
Describe the bug
Using
RoutedEvent<T>
with custom routed event args type results in twoglobal::
declarations, this will cause a compilation error.Steps to reproduce the bug
Declare a
RoutedEvent<T>
with custom event args type like this:This will generate code like this:
As you can see, the type name of the generated event contains two
global::
declarations, which will cause a compilation error.global::global::System.Windows.RoutedEventArgs
Expected behavior
Just need one "global::" declaration, get rid of the redundant, like this:
global::System.Windows.RoutedEventArgs
Screenshots
NuGet package version
1.4.0
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: