csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

Extra new line between cast and collection expression.

Open PetSerAl opened this issue 6 months ago • 0 comments

Input:

string.Join(' ', (int[])[000000000000000000000000000000, 000000000000000000000000000000, .. Enumerable.Empty<int>()]);

Output:

string.Join(
    ' ',
    (int[])

        [
            000000000000000000000000000000,
            000000000000000000000000000000,
            .. Enumerable.Empty<int>(),
        ]
);

Expected behavior:

string.Join(
    ' ',
    (int[])
        [
            000000000000000000000000000000,
            000000000000000000000000000000,
            .. Enumerable.Empty<int>(),
        ]
);

PetSerAl avatar Aug 24 '24 16:08 PetSerAl