{"action":"created","comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments/38981191","id":38981191,"diff_hunk":"@@ -116,6 +121,10 @@ public void HandleMethodDeclaration(SyntaxNodeAnalysisContext context)\n                 }\n \n                 MethodDeclarationSyntax declaration = (MethodDeclarationSyntax)context.Node;\n+                if (!(declaration.Parent is BaseTypeDeclarationSyntax))","path":"StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs","position":18,"original_position":18,"commit_id":"eeafc48017cc23b70d81dd1f0f18ddb279ea6131","original_commit_id":"eeafc48017cc23b70d81dd1f0f18ddb279ea6131","user":{"login":"hvanbakel","id":4130108,"avatar_url":"https://avatars.githubusercontent.com/u/4130108?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanbakel","html_url":"https://github.com/hvanbakel","followers_url":"https://api.github.com/users/hvanbakel/followers","following_url":"https://api.github.com/users/hvanbakel/following{/other_user}","gists_url":"https://api.github.com/users/hvanbakel/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanbakel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanbakel/subscriptions","organizations_url":"https://api.github.com/users/hvanbakel/orgs","repos_url":"https://api.github.com/users/hvanbakel/repos","events_url":"https://api.github.com/users/hvanbakel/events{/privacy}","received_events_url":"https://api.github.com/users/hvanbakel/received_events","type":"User","site_admin":false},"body":"If that method is not allowed to throw an exception, what would the result be? I think this is a legitimate reason for throwing an exception which is why I solved the problem in the calling code.","created_at":"2015-09-08T21:14:29Z","updated_at":"2015-09-08T21:14:29Z","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422#discussion_r38981191","pull_request_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422","_links":{"self":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments/38981191"},"html":{"href":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422#discussion_r38981191"},"pull_request":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422"}}},"pull_request":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422","id":44481848,"html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422","diff_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422.diff","patch_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422.patch","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1422","number":1422,"state":"open","locked":false,"title":"Expand SA1600 to check if parent is a type","user":{"login":"hvanbakel","id":4130108,"avatar_url":"https://avatars.githubusercontent.com/u/4130108?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanbakel","html_url":"https://github.com/hvanbakel","followers_url":"https://api.github.com/users/hvanbakel/followers","following_url":"https://api.github.com/users/hvanbakel/following{/other_user}","gists_url":"https://api.github.com/users/hvanbakel/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanbakel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanbakel/subscriptions","organizations_url":"https://api.github.com/users/hvanbakel/orgs","repos_url":"https://api.github.com/users/hvanbakel/repos","events_url":"https://api.github.com/users/hvanbakel/events{/privacy}","received_events_url":"https://api.github.com/users/hvanbakel/received_events","type":"User","site_admin":false},"body":"Fix for #1416 ","created_at":"2015-09-08T20:55:36Z","updated_at":"2015-09-08T21:14:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1aacc3215f3bcf784acc5c74959bcdeb01350f8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422/commits","review_comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422/comments","review_comment_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1422/comments","statuses_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/eeafc48017cc23b70d81dd1f0f18ddb279ea6131","head":{"label":"hvanbakel:SA1600-fix-1416","ref":"SA1600-fix-1416","sha":"eeafc48017cc23b70d81dd1f0f18ddb279ea6131","user":{"login":"hvanbakel","id":4130108,"avatar_url":"https://avatars.githubusercontent.com/u/4130108?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanbakel","html_url":"https://github.com/hvanbakel","followers_url":"https://api.github.com/users/hvanbakel/followers","following_url":"https://api.github.com/users/hvanbakel/following{/other_user}","gists_url":"https://api.github.com/users/hvanbakel/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanbakel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanbakel/subscriptions","organizations_url":"https://api.github.com/users/hvanbakel/orgs","repos_url":"https://api.github.com/users/hvanbakel/repos","events_url":"https://api.github.com/users/hvanbakel/events{/privacy}","received_events_url":"https://api.github.com/users/hvanbakel/received_events","type":"User","site_admin":false},"repo":{"id":40282840,"name":"StyleCopAnalyzers","full_name":"hvanbakel/StyleCopAnalyzers","owner":{"login":"hvanbakel","id":4130108,"avatar_url":"https://avatars.githubusercontent.com/u/4130108?v=3","gravatar_id":"","url":"https://api.github.com/users/hvanbakel","html_url":"https://github.com/hvanbakel","followers_url":"https://api.github.com/users/hvanbakel/followers","following_url":"https://api.github.com/users/hvanbakel/following{/other_user}","gists_url":"https://api.github.com/users/hvanbakel/gists{/gist_id}","starred_url":"https://api.github.com/users/hvanbakel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvanbakel/subscriptions","organizations_url":"https://api.github.com/users/hvanbakel/orgs","repos_url":"https://api.github.com/users/hvanbakel/repos","events_url":"https://api.github.com/users/hvanbakel/events{/privacy}","received_events_url":"https://api.github.com/users/hvanbakel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hvanbakel/StyleCopAnalyzers","description":"An implementation of StyleCop rules using the .NET Compiler Platform","fork":true,"url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers","forks_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/forks","keys_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/teams","hooks_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/hooks","issue_events_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/issues/events{/number}","events_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/events","assignees_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/assignees{/user}","branches_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/branches{/branch}","tags_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/tags","blobs_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/languages","stargazers_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/stargazers","contributors_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/contributors","subscribers_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/subscribers","subscription_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/subscription","commits_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/contents/{+path}","compare_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/merges","archive_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/downloads","issues_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/issues{/number}","pulls_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/labels{/name}","releases_url":"https://api.github.com/repos/hvanbakel/StyleCopAnalyzers/releases{/id}","created_at":"2015-08-06T03:42:39Z","updated_at":"2015-08-06T03:42:43Z","pushed_at":"2015-09-08T21:09:40Z","git_url":"git://github.com/hvanbakel/StyleCopAnalyzers.git","ssh_url":"git@github.com:hvanbakel/StyleCopAnalyzers.git","clone_url":"https://github.com/hvanbakel/StyleCopAnalyzers.git","svn_url":"https://github.com/hvanbakel/StyleCopAnalyzers","homepage":null,"size":5927,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"DotNetAnalyzers:master","ref":"master","sha":"b8bf1a89df30c3b002208b2078c84737ef792a2b","user":{"login":"DotNetAnalyzers","id":9735576,"avatar_url":"https://avatars.githubusercontent.com/u/9735576?v=3","gravatar_id":"","url":"https://api.github.com/users/DotNetAnalyzers","html_url":"https://github.com/DotNetAnalyzers","followers_url":"https://api.github.com/users/DotNetAnalyzers/followers","following_url":"https://api.github.com/users/DotNetAnalyzers/following{/other_user}","gists_url":"https://api.github.com/users/DotNetAnalyzers/gists{/gist_id}","starred_url":"https://api.github.com/users/DotNetAnalyzers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DotNetAnalyzers/subscriptions","organizations_url":"https://api.github.com/users/DotNetAnalyzers/orgs","repos_url":"https://api.github.com/users/DotNetAnalyzers/repos","events_url":"https://api.github.com/users/DotNetAnalyzers/events{/privacy}","received_events_url":"https://api.github.com/users/DotNetAnalyzers/received_events","type":"Organization","site_admin":false},"repo":{"id":26768275,"name":"StyleCopAnalyzers","full_name":"DotNetAnalyzers/StyleCopAnalyzers","owner":{"login":"DotNetAnalyzers","id":9735576,"avatar_url":"https://avatars.githubusercontent.com/u/9735576?v=3","gravatar_id":"","url":"https://api.github.com/users/DotNetAnalyzers","html_url":"https://github.com/DotNetAnalyzers","followers_url":"https://api.github.com/users/DotNetAnalyzers/followers","following_url":"https://api.github.com/users/DotNetAnalyzers/following{/other_user}","gists_url":"https://api.github.com/users/DotNetAnalyzers/gists{/gist_id}","starred_url":"https://api.github.com/users/DotNetAnalyzers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DotNetAnalyzers/subscriptions","organizations_url":"https://api.github.com/users/DotNetAnalyzers/orgs","repos_url":"https://api.github.com/users/DotNetAnalyzers/repos","events_url":"https://api.github.com/users/DotNetAnalyzers/events{/privacy}","received_events_url":"https://api.github.com/users/DotNetAnalyzers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers","description":"An implementation of StyleCop rules using the .NET Compiler Platform","fork":false,"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers","forks_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/forks","keys_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/teams","hooks_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/hooks","issue_events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/events{/number}","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/events","assignees_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/assignees{/user}","branches_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/branches{/branch}","tags_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/tags","blobs_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/languages","stargazers_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/stargazers","contributors_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/contributors","subscribers_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/subscribers","subscription_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/subscription","commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/contents/{+path}","compare_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/merges","archive_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/downloads","issues_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues{/number}","pulls_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels{/name}","releases_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/releases{/id}","created_at":"2014-11-17T17:29:54Z","updated_at":"2015-09-08T09:25:43Z","pushed_at":"2015-09-08T21:10:02Z","git_url":"git://github.com/DotNetAnalyzers/StyleCopAnalyzers.git","ssh_url":"git@github.com:DotNetAnalyzers/StyleCopAnalyzers.git","clone_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers.git","svn_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers","homepage":null,"size":12316,"stargazers_count":189,"watchers_count":189,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":158,"forks":50,"open_issues":158,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422"},"html":{"href":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1422"},"issue":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1422"},"comments":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1422/comments"},"review_comments":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422/comments"},"review_comment":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1422/commits"},"statuses":{"href":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/statuses/eeafc48017cc23b70d81dd1f0f18ddb279ea6131"}}}}