Employ file-scoped namespaces (`namespace X;`).
0
Up
1
Down
-1
Net
Enforce file-scoped namespaces via `.editorconfig` (`csharp_style_namespace_declarations = file_scoped`) rather than an agent rule.
Better enforced by tooling, not AI rules