{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/10580","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/10580/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/10580/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/10580/events","html_url":"https://github.com/dotnet/roslyn/issues/10580","id":148458877,"number":10580,"title":"\"Encapsulate field\" refactoring is incorrect on tuples","user":{"login":"jcouv","id":12466233,"avatar_url":"https://avatars.githubusercontent.com/u/12466233?v=3","gravatar_id":"","url":"https://api.github.com/users/jcouv","html_url":"https://github.com/jcouv","followers_url":"https://api.github.com/users/jcouv/followers","following_url":"https://api.github.com/users/jcouv/following{/other_user}","gists_url":"https://api.github.com/users/jcouv/gists{/gist_id}","starred_url":"https://api.github.com/users/jcouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcouv/subscriptions","organizations_url":"https://api.github.com/users/jcouv/orgs","repos_url":"https://api.github.com/users/jcouv/repos","events_url":"https://api.github.com/users/jcouv/events{/privacy}","received_events_url":"https://api.github.com/users/jcouv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/New%20Language%20Feature%20-%20Tuples","name":"New Language Feature - Tuples","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"jcouv","id":12466233,"avatar_url":"https://avatars.githubusercontent.com/u/12466233?v=3","gravatar_id":"","url":"https://api.github.com/users/jcouv","html_url":"https://github.com/jcouv","followers_url":"https://api.github.com/users/jcouv/followers","following_url":"https://api.github.com/users/jcouv/following{/other_user}","gists_url":"https://api.github.com/users/jcouv/gists{/gist_id}","starred_url":"https://api.github.com/users/jcouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcouv/subscriptions","organizations_url":"https://api.github.com/users/jcouv/orgs","repos_url":"https://api.github.com/users/jcouv/repos","events_url":"https://api.github.com/users/jcouv/events{/privacy}","received_events_url":"https://api.github.com/users/jcouv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/20","html_url":"https://github.com/dotnet/roslyn/milestones/2.0%20(Preview%203)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/20/labels","id":1698877,"number":20,"title":"2.0 (Preview 3)","description":"","creator":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"open_issues":84,"closed_issues":0,"state":"open","created_at":"2016-04-11T20:34:18Z","updated_at":"2016-04-29T14:39:34Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-04-14T19:27:31Z","updated_at":"2016-04-30T19:14:35Z","closed_at":null,"body":"Select the line with tuple field and trigger the \"encapsulate field\" refactoring. The result is incorrect (shows `object` instead of proper tuple type).\r\n\r\n![tuple-encapsulate-field](https://cloud.githubusercontent.com/assets/12466233/14540857/11374470-023c-11e6-86f9-78170c3a8886.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/215988140","html_url":"https://github.com/dotnet/roslyn/issues/10580#issuecomment-215988140","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/10580","id":215988140,"user":{"login":"jcouv","id":12466233,"avatar_url":"https://avatars.githubusercontent.com/u/12466233?v=3","gravatar_id":"","url":"https://api.github.com/users/jcouv","html_url":"https://github.com/jcouv","followers_url":"https://api.github.com/users/jcouv/followers","following_url":"https://api.github.com/users/jcouv/following{/other_user}","gists_url":"https://api.github.com/users/jcouv/gists{/gist_id}","starred_url":"https://api.github.com/users/jcouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcouv/subscriptions","organizations_url":"https://api.github.com/users/jcouv/orgs","repos_url":"https://api.github.com/users/jcouv/repos","events_url":"https://api.github.com/users/jcouv/events{/privacy}","received_events_url":"https://api.github.com/users/jcouv/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T19:14:35Z","updated_at":"2016-04-30T19:14:35Z","body":"The problem was fixed as a side-effect of #10740. I will add some tests."}}