Skip to content

CompleteStatementCommandHandler should work with yield return #54709

@Youssef1313

Description

@Youssef1313

Version Used:

main

Steps to Reproduce:

        private static IEnumerable<int> M()
        {
            yield return GetNumber($$)
        }

Type ; in place of $$

Expected Behavior:

Complete statement works.

Actual Behavior:

It doesn't.

Fix is straightforward here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions