Registered owner type must inherit DependencyObject

Proprietary

DependencyProperty.Register stores the owner type for run-time lookups and requires it to be a DependencyObject. Flags a registration whose owner is not, which throws when the property is used; an attached property should use RegisterAttached instead.

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

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