DependencyPropertyKey member must be declared before DependencyProperty member
ProprietaryA DependencyProperty initialized from <key>.DependencyProperty must be declared after that DependencyPropertyKey, because static initializers run in declaration order and the key would otherwise still be null. Moves the key above the property.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. DeclareDependencyPropertyKeyBeforePropertymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. DeclareDependencyPropertyKeyBeforePropertyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.