Declare using directive on top level
ProprietaryMove using directives outside of namespace declarations to the top level of the file.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. DeclareUsingDirectiveOnTopLevelmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. DeclareUsingDirectiveOnTopLevelInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.