{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/203527089","pull_request_review_id":138435994,"id":203527089,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzUyNzA4OQ==","diff_hunk":"@@ -1244,6 +1245,9 @@ public override object VisitField(FieldSymbol symbol, TypeCompilationState argum\n \n             try\n             {\n+                BoundNode usingVarLoweredNode = LocalUsingVarRewriter.Rewrite(body);","path":"src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs","position":12,"original_position":12,"commit_id":"367433330c454c4d551c14a47587cdc65ff7cfa2","original_commit_id":"ca5446d2160fa0f1cc4b00d8e23e47cb8cfc4046","user":{"login":"fayrose","id":20001456,"node_id":"MDQ6VXNlcjIwMDAxNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/20001456?v=4","gravatar_id":"","url":"https://api.github.com/users/fayrose","html_url":"https://github.com/fayrose","followers_url":"https://api.github.com/users/fayrose/followers","following_url":"https://api.github.com/users/fayrose/following{/other_user}","gists_url":"https://api.github.com/users/fayrose/gists{/gist_id}","starred_url":"https://api.github.com/users/fayrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayrose/subscriptions","organizations_url":"https://api.github.com/users/fayrose/orgs","repos_url":"https://api.github.com/users/fayrose/repos","events_url":"https://api.github.com/users/fayrose/events{/privacy}","received_events_url":"https://api.github.com/users/fayrose/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2018-07-18T20:58:01Z","updated_at":"2018-07-18T20:58:01Z","html_url":"https://github.com/dotnet/roslyn/pull/28587#discussion_r203527089","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/28587","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/203527089"},"html":{"href":"https://github.com/dotnet/roslyn/pull/28587#discussion_r203527089"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/28587"}},"in_reply_to_id":202865733},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/28587","id":201787336,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNzg3MzM2","html_url":"https://github.com/dotnet/roslyn/pull/28587","diff_url":"https://github.com/dotnet/roslyn/pull/28587.diff","patch_url":"https://github.com/dotnet/roslyn/pull/28587.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/28587","number":28587,"state":"open","locked":false,"title":"Using Var Binding","user":{"login":"fayrose","id":20001456,"node_id":"MDQ6VXNlcjIwMDAxNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/20001456?v=4","gravatar_id":"","url":"https://api.github.com/users/fayrose","html_url":"https://github.com/fayrose","followers_url":"https://api.github.com/users/fayrose/followers","following_url":"https://api.github.com/users/fayrose/following{/other_user}","gists_url":"https://api.github.com/users/fayrose/gists{/gist_id}","starred_url":"https://api.github.com/users/fayrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayrose/subscriptions","organizations_url":"https://api.github.com/users/fayrose/orgs","repos_url":"https://api.github.com/users/fayrose/repos","events_url":"https://api.github.com/users/fayrose/events{/privacy}","received_events_url":"https://api.github.com/users/fayrose/received_events","type":"User","site_admin":false},"body":"Covers most cases including multiples declarations and forbidding the using var within switch sections. Definite assignment is not covered within this PR.","created_at":"2018-07-16T23:31:51Z","updated_at":"2018-07-18T20:58:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfb9b35c2c17b712812c1108e90c23aca0e9de90","assignee":{"login":"jcouv","id":12466233,"node_id":"MDQ6VXNlcjEyNDY2MjMz","avatar_url":"https://avatars2.githubusercontent.com/u/12466233?v=4","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},"assignees":[{"login":"jcouv","id":12466233,"node_id":"MDQ6VXNlcjEyNDY2MjMz","avatar_url":"https://avatars2.githubusercontent.com/u/12466233?v=4","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}],"requested_reviewers":[{"login":"agocke","id":515774,"node_id":"MDQ6VXNlcjUxNTc3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/515774?v=4","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":166673288,"node_id":"MDU6TGFiZWwxNjY2NzMyODg=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7","default":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/18","html_url":"https://github.com/dotnet/roslyn/milestone/18","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/18/labels","id":1675130,"node_id":"MDk6TWlsZXN0b25lMTY3NTEzMA==","number":18,"title":"16.0","description":"The version *after* the next major version.","creator":{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"open_issues":1083,"closed_issues":366,"state":"open","created_at":"2016-03-31T00:06:25Z","updated_at":"2018-07-18T20:26:40Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/28587/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/28587/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/28587/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/367433330c454c4d551c14a47587cdc65ff7cfa2","head":{"label":"fayrose:using-var","ref":"using-var","sha":"367433330c454c4d551c14a47587cdc65ff7cfa2","user":{"login":"fayrose","id":20001456,"node_id":"MDQ6VXNlcjIwMDAxNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/20001456?v=4","gravatar_id":"","url":"https://api.github.com/users/fayrose","html_url":"https://github.com/fayrose","followers_url":"https://api.github.com/users/fayrose/followers","following_url":"https://api.github.com/users/fayrose/following{/other_user}","gists_url":"https://api.github.com/users/fayrose/gists{/gist_id}","starred_url":"https://api.github.com/users/fayrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayrose/subscriptions","organizations_url":"https://api.github.com/users/fayrose/orgs","repos_url":"https://api.github.com/users/fayrose/repos","events_url":"https://api.github.com/users/fayrose/events{/privacy}","received_events_url":"https://api.github.com/users/fayrose/received_events","type":"User","site_admin":false},"repo":{"id":133730726,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3MzA3MjY=","name":"roslyn","full_name":"fayrose/roslyn","owner":{"login":"fayrose","id":20001456,"node_id":"MDQ6VXNlcjIwMDAxNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/20001456?v=4","gravatar_id":"","url":"https://api.github.com/users/fayrose","html_url":"https://github.com/fayrose","followers_url":"https://api.github.com/users/fayrose/followers","following_url":"https://api.github.com/users/fayrose/following{/other_user}","gists_url":"https://api.github.com/users/fayrose/gists{/gist_id}","starred_url":"https://api.github.com/users/fayrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayrose/subscriptions","organizations_url":"https://api.github.com/users/fayrose/orgs","repos_url":"https://api.github.com/users/fayrose/repos","events_url":"https://api.github.com/users/fayrose/events{/privacy}","received_events_url":"https://api.github.com/users/fayrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fayrose/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/fayrose/roslyn","forks_url":"https://api.github.com/repos/fayrose/roslyn/forks","keys_url":"https://api.github.com/repos/fayrose/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fayrose/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fayrose/roslyn/teams","hooks_url":"https://api.github.com/repos/fayrose/roslyn/hooks","issue_events_url":"https://api.github.com/repos/fayrose/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/fayrose/roslyn/events","assignees_url":"https://api.github.com/repos/fayrose/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/fayrose/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/fayrose/roslyn/tags","blobs_url":"https://api.github.com/repos/fayrose/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fayrose/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fayrose/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/fayrose/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fayrose/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/fayrose/roslyn/languages","stargazers_url":"https://api.github.com/repos/fayrose/roslyn/stargazers","contributors_url":"https://api.github.com/repos/fayrose/roslyn/contributors","subscribers_url":"https://api.github.com/repos/fayrose/roslyn/subscribers","subscription_url":"https://api.github.com/repos/fayrose/roslyn/subscription","commits_url":"https://api.github.com/repos/fayrose/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/fayrose/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/fayrose/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/fayrose/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/fayrose/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/fayrose/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fayrose/roslyn/merges","archive_url":"https://api.github.com/repos/fayrose/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fayrose/roslyn/downloads","issues_url":"https://api.github.com/repos/fayrose/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/fayrose/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/fayrose/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/fayrose/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fayrose/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/fayrose/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/fayrose/roslyn/deployments","created_at":"2018-05-16T22:47:34Z","updated_at":"2018-05-16T22:48:16Z","pushed_at":"2018-07-18T19:54:27Z","git_url":"git://github.com/fayrose/roslyn.git","ssh_url":"git@github.com:fayrose/roslyn.git","clone_url":"https://github.com/fayrose/roslyn.git","svn_url":"https://github.com/fayrose/roslyn","homepage":"","size":375412,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:features/enhanced-using","ref":"features/enhanced-using","sha":"98e5398c766cb22e7c64e7486e285f46b9551490","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":29078997,"node_id":"MDEwOlJlcG9zaXRvcnkyOTA3ODk5Nw==","name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/roslyn/deployments","created_at":"2015-01-11T02:39:03Z","updated_at":"2018-07-18T17:35:48Z","pushed_at":"2018-07-18T20:47:57Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":414503,"stargazers_count":9591,"watchers_count":9591,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2276,"mirror_url":null,"archived":false,"open_issues_count":4925,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2276,"open_issues":4925,"watchers":9591,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/28587"},"html":{"href":"https://github.com/dotnet/roslyn/pull/28587"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/28587"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/28587/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/28587/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/28587/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/367433330c454c4d551c14a47587cdc65ff7cfa2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fayrose"}}