{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/comments/180734170","pull_request_review_id":111204915,"id":180734170,"diff_hunk":"@@ -112,9 +112,9 @@ internal static NameSyntax Of(this NameSyntax typeName, params TypeSyntax[] type\n                 case SyntaxKind.QualifiedName:\n                     return ((QualifiedNameSyntax)typeName).Of(typeArguments);\n                 case SyntaxKind.IdentifierName:\n-                    return GenericName(((IdentifierNameSyntax)typeName).Identifier).Of(typeArguments);\n+                    return ((IdentifierNameSyntax)typeName).Of(typeArguments);","path":"apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.GenerateClient/RoslynHelpers.cs","position":5,"original_position":5,"commit_id":"1012c45df17eb923f1586bae598e028b222f3fd9","original_commit_id":"1012c45df17eb923f1586bae598e028b222f3fd9","user":{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false},"body":"Just as a thought, could you use pattern matching rather than all the casting?","created_at":"2018-04-11T12:25:07Z","updated_at":"2018-04-11T12:25:10Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066#discussion_r180734170","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/comments/180734170"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066#discussion_r180734170"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066","id":180881827,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/2066","number":2066,"state":"open","locked":false,"title":"Cleanup RoslynHelpers","user":{"login":"evildour","id":4014815,"avatar_url":"https://avatars2.githubusercontent.com/u/4014815?v=4","gravatar_id":"","url":"https://api.github.com/users/evildour","html_url":"https://github.com/evildour","followers_url":"https://api.github.com/users/evildour/followers","following_url":"https://api.github.com/users/evildour/following{/other_user}","gists_url":"https://api.github.com/users/evildour/gists{/gist_id}","starred_url":"https://api.github.com/users/evildour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evildour/subscriptions","organizations_url":"https://api.github.com/users/evildour/orgs","repos_url":"https://api.github.com/users/evildour/repos","events_url":"https://api.github.com/users/evildour/events{/privacy}","received_events_url":"https://api.github.com/users/evildour/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-11T12:09:07Z","updated_at":"2018-04-11T12:25:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09c323a9ad3027cf55ad8d060cf3036ea4580335","assignee":{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false},"assignees":[{"login":"jskeet","id":17011,"avatar_url":"https://avatars1.githubusercontent.com/u/17011?v=4","gravatar_id":"","url":"https://api.github.com/users/jskeet","html_url":"https://github.com/jskeet","followers_url":"https://api.github.com/users/jskeet/followers","following_url":"https://api.github.com/users/jskeet/following{/other_user}","gists_url":"https://api.github.com/users/jskeet/gists{/gist_id}","starred_url":"https://api.github.com/users/jskeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskeet/subscriptions","organizations_url":"https://api.github.com/users/jskeet/orgs","repos_url":"https://api.github.com/users/jskeet/repos","events_url":"https://api.github.com/users/jskeet/events{/privacy}","received_events_url":"https://api.github.com/users/jskeet/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/2066/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/statuses/1012c45df17eb923f1586bae598e028b222f3fd9","head":{"label":"evildour:roslyn-cleanup","ref":"roslyn-cleanup","sha":"1012c45df17eb923f1586bae598e028b222f3fd9","user":{"login":"evildour","id":4014815,"avatar_url":"https://avatars2.githubusercontent.com/u/4014815?v=4","gravatar_id":"","url":"https://api.github.com/users/evildour","html_url":"https://github.com/evildour","followers_url":"https://api.github.com/users/evildour/followers","following_url":"https://api.github.com/users/evildour/following{/other_user}","gists_url":"https://api.github.com/users/evildour/gists{/gist_id}","starred_url":"https://api.github.com/users/evildour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evildour/subscriptions","organizations_url":"https://api.github.com/users/evildour/orgs","repos_url":"https://api.github.com/users/evildour/repos","events_url":"https://api.github.com/users/evildour/events{/privacy}","received_events_url":"https://api.github.com/users/evildour/received_events","type":"User","site_admin":false},"repo":{"id":62015644,"name":"google-cloud-dotnet","full_name":"evildour/google-cloud-dotnet","owner":{"login":"evildour","id":4014815,"avatar_url":"https://avatars2.githubusercontent.com/u/4014815?v=4","gravatar_id":"","url":"https://api.github.com/users/evildour","html_url":"https://github.com/evildour","followers_url":"https://api.github.com/users/evildour/followers","following_url":"https://api.github.com/users/evildour/following{/other_user}","gists_url":"https://api.github.com/users/evildour/gists{/gist_id}","starred_url":"https://api.github.com/users/evildour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evildour/subscriptions","organizations_url":"https://api.github.com/users/evildour/orgs","repos_url":"https://api.github.com/users/evildour/repos","events_url":"https://api.github.com/users/evildour/events{/privacy}","received_events_url":"https://api.github.com/users/evildour/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evildour/google-cloud-dotnet","description":"Google Cloud Client Library for .NET","fork":true,"url":"https://api.github.com/repos/evildour/google-cloud-dotnet","forks_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/forks","keys_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/teams","hooks_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/hooks","issue_events_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/events","assignees_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/tags","blobs_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/languages","stargazers_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/stargazers","contributors_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/contributors","subscribers_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/subscribers","subscription_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/subscription","commits_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/merges","archive_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/downloads","issues_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/releases{/id}","deployments_url":"https://api.github.com/repos/evildour/google-cloud-dotnet/deployments","created_at":"2016-06-27T01:02:10Z","updated_at":"2018-04-11T12:05:58Z","pushed_at":"2018-04-11T12:08:46Z","git_url":"git://github.com/evildour/google-cloud-dotnet.git","ssh_url":"git@github.com:evildour/google-cloud-dotnet.git","clone_url":"https://github.com/evildour/google-cloud-dotnet.git","svn_url":"https://github.com/evildour/google-cloud-dotnet","homepage":null,"size":46208,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"5212bf89bed5a548a2e92878049e2c8de1f0e755","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":35877412,"name":"google-cloud-dotnet","full_name":"GoogleCloudPlatform/google-cloud-dotnet","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet","description":"Google Cloud Client Libraries for .NET","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/deployments","created_at":"2015-05-19T11:14:02Z","updated_at":"2018-04-11T12:02:59Z","pushed_at":"2018-04-11T12:09:08Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-dotnet.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-dotnet.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet","homepage":"https://googlecloudplatform.github.io/google-cloud-dotnet/","size":53731,"stargazers_count":237,"watchers_count":237,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":103,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":103,"open_issues":24,"watchers":237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-dotnet/pull/2066"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/2066"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/issues/2066/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/pulls/2066/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-dotnet/statuses/1012c45df17eb923f1586bae598e028b222f3fd9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jskeet"}}