Backing member for a RoutedCommand should be static and readonly
ProprietaryA RoutedCommand is a shared singleton, so its backing field or property must be static readonly. Adds the missing modifiers.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. MakeRoutedCommandBackingMemberStaticReadonlymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. MakeRoutedCommandBackingMemberStaticReadonlyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.