Skip to content

SA1137 picks the wrong bracket as correct indentation #2854

Open
@JohanLarsson

Description

@JohanLarsson

image

Code fix makes both wrong.

Repro code:

    class C
    {
        void M()
        {
            var xs = new[]
{
                    1,
                };
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions