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

Cannot rename a tuple element in a declaration #23754

Closed
davkean opened this issue Dec 13, 2017 · 2 comments
Closed

Cannot rename a tuple element in a declaration #23754

davkean opened this issue Dec 13, 2017 · 2 comments
Labels

Comments

@davkean
Copy link
Member

davkean commented Dec 13, 2017

    class Program
    {
        static void Main(string[] args)
        {
            var input = GetInput();

            Console.WriteLine(input.time);
        }

        private static (DateTime time, string path) GetInput()
        {
            return default((DateTime, string));
        }
    }
  1. Attempt to rename "time" in GetInput and all consumptions to be renamed

Expected: To be able to rename
Actual:

---------------------------
Microsoft Visual Studio
---------------------------
You cannot rename this element.
---------------------------
OK   
---------------------------
@jcouv
Copy link
Member

jcouv commented Dec 14, 2017

Dupe of #14115 ?

@jcouv jcouv added the Area-IDE label Dec 14, 2017
@jinujoseph
Copy link
Contributor

closed as dupe of #14115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants