Backing member for a DependencyProperty should be static and readonly
ProprietaryA 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. MakeDependencyPropertyBackingMemberStaticReadonlymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. MakeDependencyPropertyBackingMemberStaticReadonlyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.