Find reassigned primary constructor parameter
ProprietaryDetect primary constructor parameters that are reassigned in the class body. Primary constructor parameters should be treated as readonly.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindPrimaryConstructorReadonlymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindPrimaryConstructorReadonlyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.