Use same dependency property in get and set
ProprietaryThe get and set accessors of a CLR property wrapping a dependency property must pass the same dependency property to GetValue and SetValue. Flags a property whose accessors disagree, including the read-only case where the setter must use the DependencyPropertyKey paired with the getter's DependencyProperty.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. RequireSameDependencyPropertyInGetAndSetmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. RequireSameDependencyPropertyInGetAndSetInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.