csharp_style_namespace_declarations

Convert block namespaces to file-scoped. IDE0161. Applied without a compilation.

Value Notes
block_scoped
file_scoped

Default: (as written)

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

csharp_style_namespace_declarations = block_scoped
		
using System;

namespace N
{
    public class Widget
    {
        public void Run() { }
    }
}
		
using System;

namespace N
{
    public class Widget
    {
        public void Run() { }
    }
}
		
csharp_style_namespace_declarations = file_scoped
		
using System;

namespace N
{
    public class Widget
    {
        public void Run() { }
    }
}
		
using System;

namespace N;

public class Widget
{
    public void Run() { }
}