Skip to content

Suggested names not provided for tuple elements in generic type arguments #22342

@sharwell

Description

@sharwell

Version Used: 15.4 Preview 2

Steps to Reproduce:

  1. Type the following as a local variable declaration

    Func<(Task task, CancellationToken cancellationToken), Task> funcAsync;

Expected Behavior:

A suggested name is provided for task and cancellationToken.

Actual Behavior:

Suggested names are not provided.

📝 Note that if you declare a local variable of a tuple type which is not a generic type argument, tuple names are provided.

Metadata

Metadata

Assignees

Labels

Area-IDEBugResolution-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