Abstract type should not have public constructors
ProprietaryChange public constructors of abstract types to protected.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. AbstractTypeShouldNotHavePublicConstructorsmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. AbstractTypeShouldNotHavePublicConstructorsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.