Skip to content

Confirm expected behavior for DontCreateIndentOperationForBrokenBracketedArgumentList after discard parsing changes #15813

@jcouv

Description

@jcouv

Following up on this PR feedback: #15548 (review)

        [WpfFact, Trait(Traits.Feature, Traits.Features.SmartIndent)]
        public async Task DontCreateIndentOperationForBrokenBracketedArgumentList()
        {
            var code = @"
class Program
{
    static void M()
    {
        string (userInput == ""Y"")

    }
}
";

            await AssertSmartIndentAsync(
                code,
                indentationLine: 6,
                expectedIndentation: 8);
        }

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions