CLR property type should match registered type
ProprietaryThe CLR property wrapping a DependencyProperty must be declared with the type the property was registered with, otherwise reading it throws at run time. Corrects the property type and the cast in its getter.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. UseRegisteredTypeForClrPropertymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. UseRegisteredTypeForClrPropertyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.