Find redundant nameof with CallerArgumentExpression

Proprietary

Detect nameof(param) passed to parameters marked with [CallerArgumentExpression]. The attribute fills the value automatically.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindUseCallerArgumentExpression
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindUseCallerArgumentExpression

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