← All recipes
Moderne licensed

StyleTypedProperty.Property must exist

Recipe IDOpenRewrite.Recipes.CSharp.CodeQuality.Wpf.RequireExistingStyleTypedPropertyArtifactOpenRewrite.Recipes.CSharp.CodeQuality

[StyleTypedProperty(Property = ...)] names the Style-typed property it describes. Flags an attribute whose Property matches no member of the attributed type or its bases.

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

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

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