{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/25617022","id":25617022,"diff_hunk":"@@ -225,54 +225,59 @@ Namespace Microsoft.CodeAnalysis.VisualBasic\n                     Continue For\n                 End If\n \n-                Dim frame As LambdaFrame = GetFrameForScope(copyConstructor, captured, node, scopeOrdinalDispenser, _delegateRelaxationIdDispenser)\n+                Dim frame As LambdaFrame = GetFrameForScope(copyConstructor, captured, node, closureDebugInfo, _delegateRelaxationIdDispenser)\n \n-                Dim proxy = LambdaCapturedVariable.Create(frame, captured, synthesizedFieldNameIdDispenser)\n+                Dim proxy = LambdaCapturedVariable.Create(frame, captured, _synthesizedFieldNameIdDispenser)\n                 Proxies.Add(captured, proxy)\n-                frame.m_captured_locals.Add(proxy)\n+                frame.CapturedLocals.Add(proxy)\n             Next\n \n-            For Each frame In frames.Values\n+            For Each frame In _frames.Values\n                 CompilationState.AddSynthesizedMethod(frame.Constructor, MakeFrameCtor(frame, Diagnostics))\n             Next\n         End Sub\n \n         Private Function GetFrameForScope(copyConstructor As Boolean,\n                                           captured As Symbol,\n-                                          node As BoundNode,\n-                                          ByRef scopeOrdinalDispenser As Integer,\n+                                          scope As BoundNode,\n+                                          closureDebugInfo As ArrayBuilder(Of ClosureDebugInfo),\n                                           ByRef delegateRelaxationIdDispenser As Integer) As LambdaFrame\n             Dim frame As LambdaFrame = Nothing","path":"src/Compilers/VisualBasic/Portable/Lowering/LambdaRewriter/LambdaRewriter.vb","position":197,"original_position":197,"commit_id":"09fd26be694442ab344ba9bf8a30061bb161a772","original_commit_id":"09fd26be694442ab344ba9bf8a30061bb161a772","user":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"body":"It is to avoid warning saying \"passed by reference before it has been assigned a value\" when calling TryGetValue(scope, frame) at 247.","created_at":"2015-03-02T17:22:40Z","updated_at":"2015-03-02T17:22:40Z","html_url":"https://github.com/dotnet/roslyn/pull/655#discussion_r25617022","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/655","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/25617022"},"html":{"href":"https://github.com/dotnet/roslyn/pull/655#discussion_r25617022"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/655"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/655","id":29567949,"html_url":"https://github.com/dotnet/roslyn/pull/655","diff_url":"https://github.com/dotnet/roslyn/pull/655.diff","patch_url":"https://github.com/dotnet/roslyn/pull/655.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/655","number":655,"state":"open","locked":false,"title":"Support EnC for lambdas & closures in VB compiler","user":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"body":"Apply the recent C# changes to VB, so we can support Edit and Continue for lambdas and closures.","created_at":"2015-02-18T22:05:05Z","updated_at":"2015-03-02T17:22:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0c172160f5cffea0674a7ee3e234455b9c89f08","assignee":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/655/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/655/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/655/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/09fd26be694442ab344ba9bf8a30061bb161a772","head":{"label":"wschae:VBLambda","ref":"VBLambda","sha":"09fd26be694442ab344ba9bf8a30061bb161a772","user":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"repo":{"id":30548529,"name":"roslyn","full_name":"wschae/roslyn","owner":{"login":"wschae","id":4300700,"avatar_url":"https://avatars.githubusercontent.com/u/4300700?v=3","gravatar_id":"","url":"https://api.github.com/users/wschae","html_url":"https://github.com/wschae","followers_url":"https://api.github.com/users/wschae/followers","following_url":"https://api.github.com/users/wschae/following{/other_user}","gists_url":"https://api.github.com/users/wschae/gists{/gist_id}","starred_url":"https://api.github.com/users/wschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschae/subscriptions","organizations_url":"https://api.github.com/users/wschae/orgs","repos_url":"https://api.github.com/users/wschae/repos","events_url":"https://api.github.com/users/wschae/events{/privacy}","received_events_url":"https://api.github.com/users/wschae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wschae/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/wschae/roslyn","forks_url":"https://api.github.com/repos/wschae/roslyn/forks","keys_url":"https://api.github.com/repos/wschae/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wschae/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wschae/roslyn/teams","hooks_url":"https://api.github.com/repos/wschae/roslyn/hooks","issue_events_url":"https://api.github.com/repos/wschae/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/wschae/roslyn/events","assignees_url":"https://api.github.com/repos/wschae/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/wschae/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/wschae/roslyn/tags","blobs_url":"https://api.github.com/repos/wschae/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wschae/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wschae/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/wschae/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wschae/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/wschae/roslyn/languages","stargazers_url":"https://api.github.com/repos/wschae/roslyn/stargazers","contributors_url":"https://api.github.com/repos/wschae/roslyn/contributors","subscribers_url":"https://api.github.com/repos/wschae/roslyn/subscribers","subscription_url":"https://api.github.com/repos/wschae/roslyn/subscription","commits_url":"https://api.github.com/repos/wschae/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/wschae/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/wschae/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/wschae/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/wschae/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/wschae/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wschae/roslyn/merges","archive_url":"https://api.github.com/repos/wschae/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wschae/roslyn/downloads","issues_url":"https://api.github.com/repos/wschae/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/wschae/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/wschae/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/wschae/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wschae/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/wschae/roslyn/releases{/id}","created_at":"2015-02-09T17:30:40Z","updated_at":"2015-02-16T17:59:11Z","pushed_at":"2015-02-26T22:27:55Z","git_url":"git://github.com/wschae/roslyn.git","ssh_url":"git@github.com:wschae/roslyn.git","clone_url":"https://github.com/wschae/roslyn.git","svn_url":"https://github.com/wschae/roslyn","homepage":"","size":52591,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"8dca7e0097f7388547b777166614fde8167c9497","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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}","created_at":"2015-01-11T02:39:03Z","updated_at":"2015-03-02T15:12:30Z","pushed_at":"2015-03-01T19:44:33Z","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":78021,"stargazers_count":1367,"watchers_count":1367,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":274,"mirror_url":null,"open_issues_count":496,"forks":274,"open_issues":496,"watchers":1367,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/655"},"html":{"href":"https://github.com/dotnet/roslyn/pull/655"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/655"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/655/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/655/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/655/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/09fd26be694442ab344ba9bf8a30061bb161a772"}}}}