Skip to content

Quick Info shows "Types:" section even when it's empty #61320

@Neme12

Description

@Neme12

Version Used: Visual Studio 17.3.0 Preview 1.0

Steps to Reproduce:

Foo(default);

void Foo((int a, int b) foo)
{
}

Hover on the Foo invocation with the cursor.

Expected Behavior:
Quick Info doesn't show the "Types:" section because no types are shown there. If the method had a second tuple parameter, the "Types:" section would show the tuple, but when there's only one tuple parameter, it doesn't, so the "Types:" section is empty and there's no reason to show it, just like it isn't shown when the parameter is of a non-tuple type. I'm guessing this is the result of #56025.

Actual Behavior:
image

Metadata

Metadata

Assignees

No one assigned

    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