Name of the event should match registered name

Proprietary

An event backed by a RoutedEvent must be named exactly as the event was registered with EventManager.RegisterRoutedEvent. Renames the event and all references to it.

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.RenameEventDeclarationToMatchRegisteredName
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.RenameEventDeclarationToMatchRegisteredName

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.