Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roslyn doesn't select all matching identifiers when in a tuple deconstruction #20066

Closed
AArnott opened this issue Jun 7, 2017 · 2 comments
Closed
Assignees
Labels
Area-Compilers Feature - Tuples Tuples Resolution-Duplicate The described behavior is tracked in another issue
Milestone

Comments

@AArnott
Copy link
Contributor

AArnott commented Jun 7, 2017

Version Used: d15rel 26602.0

When the caret is on the local variable within a ValueTuple deconstruction, only that identifier instance is highlighted:
image

But when I select the same local variable in another context, all references to that identifier (including the one in the tuple deconstruction) are highlighted:
image

@jcouv
Copy link
Member

jcouv commented Jun 7, 2017

Relates to #18371

@jcouv jcouv self-assigned this Jun 7, 2017
@jcouv jcouv added this to the 15.6 milestone Jun 7, 2017
@jcouv
Copy link
Member

jcouv commented Jun 8, 2017

Filed two related issues with full details and also a similar problem with anonymous types:
#20115
#20116

I'll close this in favor of those. Thanks for reporting this @AArnott !

@jcouv jcouv closed this as completed Jun 8, 2017
@jcouv jcouv added the Resolution-Duplicate The described behavior is tracked in another issue label Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Feature - Tuples Tuples Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

2 participants