Find overrides that change parameter defaults
Recipe ID
OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindOverrideChangesParameterDefaultsArtifactOpenRewrite.Recipes.CSharp.CodeQualityDetect override methods with default parameter values. Overrides should not change defaults from the base method as this causes confusing behavior depending on the reference type.
Single recipecsharpstylecode-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.Style.FindOverrideChangesParameterDefaultsIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality