roslyn: Cannot rename named tuples

(Updated - jcouv: a more detailed spec-in-progress below)

Steps to Reproduce:

  1. Create a new C# project
  2. Have some code like:
var tuple = (number: 5, greeting: "Hello");
var number = tuple.number;
var greeting = tuple.greeting;
  1. select greeting in tuple.greeting
  2. attempt to rename greeting

Expected Behavior: Inline rename offered for tuple.greeting

Actual Behavior: image

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Reactions: 22
  • Comments: 19 (14 by maintainers)

Most upvoted comments

Any updates on this one? It seems to be forgotten for almost a year now…

We actually have a design proposal that is mostly complete that hasn’t been posted here yet. If we can make that public it would certainly allow someone to complete the initial implementation.