Use correct argument for [AttachedPropertyBrowsableForType]

Proprietary

[AttachedPropertyBrowsableForType(typeof(T))] on the CLR getter of an attached property must name a type assignable to the getter's parameter. Replaces a type the parameter cannot accept with the parameter's own type.

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

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