Skip to content

Missing completion in switch 'when' clause #25084

@Neme12

Description

@Neme12

Version used: Visual Studio 15.6 Preview 6 (same behavior in latest master bits)

Sample code:

class C
{
    void M()
    {
        var condition = true;

        switch (true)
        {
            case true
        }
    }
}

After case true, start typing when.
Expected behavior: when is offered and selected
Actual behavior: it's not offered at all

image

After when, start typing condition. No completion whatsoever:
image

Metadata

Metadata

Assignees

Labels

Area-IDEResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

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