Skip to content

The class that defines the additional routing event cannot be static. #99

@ljnober

Description

@ljnober

Describe the bug

When i make The class that defines the additional routing event static,cannot build.

The problem occurs at this position.
public{@class.Modifiers} partial class {@class.Name}

Steps to reproduce the bug

Define
[RoutedEvent("MouseDoubleClickEvent", RoutedEventStrategy.Bubble, IsAttached = true)] public static partial class ImageRoutedEvents { }

Expected behavior

Generated
publicpublic static partial class ImageRoutedEvents

Screenshots

No response

NuGet package version

No response

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions