Call RemoveHandler in remove
ProprietaryThe remove accessor of an event backed by a RoutedEvent must call RemoveHandler. Flags an accessor that calls AddHandler instead, which subscribes a second time rather than unsubscribing.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. FindEventRemoveAccessorNotCallingRemoveHandlermod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. FindEventRemoveAccessorNotCallingRemoveHandlerInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.