csharp_space_after_semicolon_in_for_statement

Space after a semicolon in a for statement.

Value Notes
true
false

Default: true

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

csharp_space_after_semicolon_in_for_statement = true
		
namespace N;

public class Widget
{
    public int Sum(int n)
    {
        int total = 0;
        for (int i = 0;i < n;i++)
            total += i;
        return total;
    }
}
		
namespace N;

public class Widget
{
    public int Sum(int n)
    {
        int total = 0;
        for (int i = 0; i < n; i++)
            total += i;
        return total;
    }
}
		
csharp_space_after_semicolon_in_for_statement = false
		
namespace N;

public class Widget
{
    public int Sum(int n)
    {
        int total = 0;
        for (int i = 0; i < n; i++)
            total += i;
        return total;
    }
}
		
namespace N;

public class Widget
{
    public int Sum(int n)
    {
        int total = 0;
        for (int i = 0;i < n;i++)
            total += i;
        return total;
    }
}