← All recipes
Moderne licensed

Backing member for DependencyProperty should have standard documentation text

Recipe IDOpenRewrite.Recipes.CSharp.CodeQuality.Wpf.DocumentDependencyPropertyBackingMemberArtifactOpenRewrite.Recipes.CSharp.CodeQuality

The member backing a DependencyProperty should be documented with <summary>Identifies the <see cref="Bar"/> dependency property.</summary>, citing the registered name. Adds the summary when it is missing and corrects it when it says something else.

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.DocumentDependencyPropertyBackingMember

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality