Backing member for a DependencyProperty should be static and readonly

Proprietary

A DependencyProperty or DependencyPropertyKey is registered once per owner type, so its backing field or property must be static readonly. Adds the missing modifiers.

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

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