Default value is a shared reference type

Proprietary

A reference type constructed as a DependencyProperty default value is shared by every instance of the owner, so a mutation through one instance is seen by all of them. Flags such a default value.

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindSharedReferenceTypeDefaultValue
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindSharedReferenceTypeDefaultValue

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.