title: VS 2022 - Convert to file-scoped namespace in all files
body: <p>I'm converting my project to .NET 6 and I want to use filescoped namespaces everywhere. But the conversion tool exists only in the editor.</p>
  <p><a href="https://i.stack.imgur.com/yY5zi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yY5zi.png" alt="file-scoped namespace conversion" /></a></p>
  <p>Has anyone found out if there's a way to run this editor function across all files in solution at once? (Looks like Rider has that function)</p>