Use correct argument for [AttachedPropertyBrowsableForType]
Recipe ID
OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseCorrectAttachedPropertyBrowsableForTypeArtifactOpenRewrite.Recipes.CSharp.CodeQuality[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.
Single recipecsharpcode-qualityProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseCorrectAttachedPropertyBrowsableForTypeIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality