csharp_place_simple_blocks_on_single_line

The same, for a lambda or anonymous method's block body.

Value Notes
true
false

Default: false

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

csharp_place_simple_blocks_on_single_line = true
		
namespace N;

public class Widget
{
    public void Run()
    {
        Action<int> log = x =>
        {
            Console.WriteLine(x);
        };
        log(1);
    }
}
		
namespace N;

public class Widget
{
    public void Run()
    {
        Action<int> log = x => { Console.WriteLine(x); };
        log(1);
    }
}
		
csharp_place_simple_blocks_on_single_line = false
		
namespace N;

public class Widget
{
    public void Run()
    {
        Action<int> log = x =>
        {
            Console.WriteLine(x);
        };
        log(1);
    }
}
		
namespace N;

public class Widget
{
    public void Run()
    {
        Action<int> log = x =>
        {
            Console.WriteLine(x);
        };
        log(1);
    }
}