{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/58622753","id":58622753,"diff_hunk":"@@ -375,10 +375,12 @@ internal static bool IsClosureScope(SyntaxNode node)\n                 // With the introduction of pattern-matching, many nodes now contain top-level\n                 // expressions that may introduce pattern variables.\n                 case SyntaxKind.EqualsValueClause:\n-                case SyntaxKind.CatchFilterClause:","path":"src/Compilers/CSharp/Portable/Syntax/LambdaUtilities.cs","position":4,"original_position":4,"commit_id":"d44840c849dee673c3e52311ebefe9979a40c465","original_commit_id":"ba291f6f1ae5a0d9b2780bcd1f0fce2a49278cf5","user":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"body":"Catch itself owns the scope","created_at":"2016-04-05T22:16:00Z","updated_at":"2016-04-05T22:16:00Z","html_url":"https://github.com/dotnet/roslyn/pull/10348#discussion_r58622753","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/10348","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/58622753"},"html":{"href":"https://github.com/dotnet/roslyn/pull/10348#discussion_r58622753"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/10348"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/10348","id":65340895,"html_url":"https://github.com/dotnet/roslyn/pull/10348","diff_url":"https://github.com/dotnet/roslyn/pull/10348.diff","patch_url":"https://github.com/dotnet/roslyn/pull/10348.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/10348","number":10348,"state":"open","locked":false,"title":"Test/fix scoping rules for pattern locals declared within a match expression.","user":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"body":"Related to #8817.\r\n\r\n@gafter, @agocke, @dotnet/roslyn-compiler Please review.\r\n\r\nNote, diff in PatternMatchingTests.cs can be reviewed in individual commits. The combined diff is too big for GitHub to handle.","created_at":"2016-04-05T17:12:04Z","updated_at":"2016-04-05T22:16:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2616192292bbd939dfc3a941680255738b14e6e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/10348/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/10348/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/10348/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/d44840c849dee673c3e52311ebefe9979a40c465","head":{"label":"AlekseyTs:Issue8817_15","ref":"Issue8817_15","sha":"d44840c849dee673c3e52311ebefe9979a40c465","user":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"repo":{"id":32701567,"name":"roslyn","full_name":"AlekseyTs/roslyn","owner":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlekseyTs/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/AlekseyTs/roslyn","forks_url":"https://api.github.com/repos/AlekseyTs/roslyn/forks","keys_url":"https://api.github.com/repos/AlekseyTs/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlekseyTs/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlekseyTs/roslyn/teams","hooks_url":"https://api.github.com/repos/AlekseyTs/roslyn/hooks","issue_events_url":"https://api.github.com/repos/AlekseyTs/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/AlekseyTs/roslyn/events","assignees_url":"https://api.github.com/repos/AlekseyTs/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/AlekseyTs/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/AlekseyTs/roslyn/tags","blobs_url":"https://api.github.com/repos/AlekseyTs/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlekseyTs/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlekseyTs/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlekseyTs/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlekseyTs/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/AlekseyTs/roslyn/languages","stargazers_url":"https://api.github.com/repos/AlekseyTs/roslyn/stargazers","contributors_url":"https://api.github.com/repos/AlekseyTs/roslyn/contributors","subscribers_url":"https://api.github.com/repos/AlekseyTs/roslyn/subscribers","subscription_url":"https://api.github.com/repos/AlekseyTs/roslyn/subscription","commits_url":"https://api.github.com/repos/AlekseyTs/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlekseyTs/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlekseyTs/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlekseyTs/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlekseyTs/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/AlekseyTs/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlekseyTs/roslyn/merges","archive_url":"https://api.github.com/repos/AlekseyTs/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlekseyTs/roslyn/downloads","issues_url":"https://api.github.com/repos/AlekseyTs/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/AlekseyTs/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/AlekseyTs/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/AlekseyTs/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlekseyTs/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/AlekseyTs/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/AlekseyTs/roslyn/deployments","created_at":"2015-03-22T23:43:35Z","updated_at":"2016-01-27T17:38:54Z","pushed_at":"2016-04-05T16:57:53Z","git_url":"git://github.com/AlekseyTs/roslyn.git","ssh_url":"git@github.com:AlekseyTs/roslyn.git","clone_url":"https://github.com/AlekseyTs/roslyn.git","svn_url":"https://github.com/AlekseyTs/roslyn","homepage":"","size":152214,"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:features/patterns","ref":"features/patterns","sha":"195e958a89ab354942307d4eb4b90e94ed015a3e","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}","deployments_url":"https://api.github.com/repos/dotnet/roslyn/deployments","created_at":"2015-01-11T02:39:03Z","updated_at":"2016-04-05T22:07:55Z","pushed_at":"2016-04-05T22:14:59Z","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":220639,"stargazers_count":4803,"watchers_count":4803,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1207,"mirror_url":null,"open_issues_count":2592,"forks":1207,"open_issues":2592,"watchers":4803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/10348"},"html":{"href":"https://github.com/dotnet/roslyn/pull/10348"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/10348"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/10348/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/10348/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/10348/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/d44840c849dee673c3e52311ebefe9979a40c465"}}}}