Use file-scoped namespace
ProprietaryDetect block-scoped namespace declarations that could use file-scoped syntax (C# 10).
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseFileScopedNamespacemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseFileScopedNamespaceInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.