Make field read-only
ProprietaryMake field read-only when it is only assigned in the constructor or initializer.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. MakeFieldReadOnlymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. MakeFieldReadOnlyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.