{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/20208","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/20208/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/20208/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/20208/events","html_url":"https://github.com/dotnet/roslyn/issues/20208","id":235794104,"number":20208,"title":"No warning for unused local tuple variable","user":{"login":"marek-safar","id":250852,"avatar_url":"https://avatars2.githubusercontent.com/u/250852?v=3","gravatar_id":"","url":"https://api.github.com/users/marek-safar","html_url":"https://github.com/marek-safar","followers_url":"https://api.github.com/users/marek-safar/followers","following_url":"https://api.github.com/users/marek-safar/following{/other_user}","gists_url":"https://api.github.com/users/marek-safar/gists{/gist_id}","starred_url":"https://api.github.com/users/marek-safar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marek-safar/subscriptions","organizations_url":"https://api.github.com/users/marek-safar/orgs","repos_url":"https://api.github.com/users/marek-safar/repos","events_url":"https://api.github.com/users/marek-safar/events{/privacy}","received_events_url":"https://api.github.com/users/marek-safar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-14T08:00:16Z","updated_at":"2017-06-14T09:08:36Z","closed_at":null,"body":"**Version Used**: 2.3.0.61719 (5fbdd5c5)\r\n\r\n**Steps to Reproduce**:\r\n\r\n```csharp\r\nclass C\r\n{\r\n\tpublic static void Main ()\r\n\t{\r\n\t\t(int, int) t1 = (-1, 2); // warning CS0219\r\n\t\tvar t2 = (-1, 2);  // NO warning CS0219\r\n\t}\r\n}\r\n```\r\n\r\n**Expected Behavior**:\r\n\r\nConsistent behaviour\r\n\r\n**Actual Behavior**:\r\n\r\nThe warning is issued for t1 variable only"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/308371523","html_url":"https://github.com/dotnet/roslyn/issues/20208#issuecomment-308371523","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/20208","id":308371523,"user":{"login":"alrz","id":3105979,"avatar_url":"https://avatars1.githubusercontent.com/u/3105979?v=3","gravatar_id":"","url":"https://api.github.com/users/alrz","html_url":"https://github.com/alrz","followers_url":"https://api.github.com/users/alrz/followers","following_url":"https://api.github.com/users/alrz/following{/other_user}","gists_url":"https://api.github.com/users/alrz/gists{/gist_id}","starred_url":"https://api.github.com/users/alrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alrz/subscriptions","organizations_url":"https://api.github.com/users/alrz/orgs","repos_url":"https://api.github.com/users/alrz/repos","events_url":"https://api.github.com/users/alrz/events{/privacy}","received_events_url":"https://api.github.com/users/alrz/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T09:08:36Z","updated_at":"2017-06-14T09:08:36Z","body":"It's interesting that tuples are an exception to that rule since tuple literals cannot be `const`."}}
{"actor":{"display_login":"alrz"}}