{"action":"opened","number":251,"pull_request":{"url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251","id":82590973,"html_url":"https://github.com/PerfDotNet/BenchmarkDotNet/pull/251","diff_url":"https://github.com/PerfDotNet/BenchmarkDotNet/pull/251.diff","patch_url":"https://github.com/PerfDotNet/BenchmarkDotNet/pull/251.patch","issue_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/251","number":251,"state":"open","locked":false,"title":"Better wording for error message","user":{"login":"arthrp","id":6719472,"avatar_url":"https://avatars.githubusercontent.com/u/6719472?v=3","gravatar_id":"","url":"https://api.github.com/users/arthrp","html_url":"https://github.com/arthrp","followers_url":"https://api.github.com/users/arthrp/followers","following_url":"https://api.github.com/users/arthrp/following{/other_user}","gists_url":"https://api.github.com/users/arthrp/gists{/gist_id}","starred_url":"https://api.github.com/users/arthrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthrp/subscriptions","organizations_url":"https://api.github.com/users/arthrp/orgs","repos_url":"https://api.github.com/users/arthrp/repos","events_url":"https://api.github.com/users/arthrp/events{/privacy}","received_events_url":"https://api.github.com/users/arthrp/received_events","type":"User","site_admin":false},"body":"If you have a code like this:\r\n```\r\nclass A \r\n{\r\n    [Benchmark]\r\n    public void Test()\r\n    {\r\n        var b = 42;\r\n    }\r\n}\r\n```\r\nyou will get a message\r\n> Benchmark method Test defined within type MyProject.A has incorrect access modifiers.\r\n\r\n>Declaring type must be public.\r\nIMO it's confusing as it implies that method, not type has incorrect access modifier.\r\nI think\r\n>MyProject.A containing Benchmark method Test has incorrect access modifiers.\r\nis less confusing.","created_at":"2016-08-24T18:13:24Z","updated_at":"2016-08-24T18:13:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251/commits","review_comments_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251/comments","review_comment_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/251/comments","statuses_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/statuses/26c33328975a61a1e4a3b07076aaba8fe29e76b3","head":{"label":"arthrp:master","ref":"master","sha":"26c33328975a61a1e4a3b07076aaba8fe29e76b3","user":{"login":"arthrp","id":6719472,"avatar_url":"https://avatars.githubusercontent.com/u/6719472?v=3","gravatar_id":"","url":"https://api.github.com/users/arthrp","html_url":"https://github.com/arthrp","followers_url":"https://api.github.com/users/arthrp/followers","following_url":"https://api.github.com/users/arthrp/following{/other_user}","gists_url":"https://api.github.com/users/arthrp/gists{/gist_id}","starred_url":"https://api.github.com/users/arthrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthrp/subscriptions","organizations_url":"https://api.github.com/users/arthrp/orgs","repos_url":"https://api.github.com/users/arthrp/repos","events_url":"https://api.github.com/users/arthrp/events{/privacy}","received_events_url":"https://api.github.com/users/arthrp/received_events","type":"User","site_admin":false},"repo":{"id":66485284,"name":"BenchmarkDotNet","full_name":"arthrp/BenchmarkDotNet","owner":{"login":"arthrp","id":6719472,"avatar_url":"https://avatars.githubusercontent.com/u/6719472?v=3","gravatar_id":"","url":"https://api.github.com/users/arthrp","html_url":"https://github.com/arthrp","followers_url":"https://api.github.com/users/arthrp/followers","following_url":"https://api.github.com/users/arthrp/following{/other_user}","gists_url":"https://api.github.com/users/arthrp/gists{/gist_id}","starred_url":"https://api.github.com/users/arthrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthrp/subscriptions","organizations_url":"https://api.github.com/users/arthrp/orgs","repos_url":"https://api.github.com/users/arthrp/repos","events_url":"https://api.github.com/users/arthrp/events{/privacy}","received_events_url":"https://api.github.com/users/arthrp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arthrp/BenchmarkDotNet","description":"Powerful .NET library for benchmarking","fork":true,"url":"https://api.github.com/repos/arthrp/BenchmarkDotNet","forks_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/forks","keys_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/teams","hooks_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/hooks","issue_events_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/issues/events{/number}","events_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/events","assignees_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/assignees{/user}","branches_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/branches{/branch}","tags_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/tags","blobs_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/git/refs{/sha}","trees_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/statuses/{sha}","languages_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/languages","stargazers_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/stargazers","contributors_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/contributors","subscribers_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/subscribers","subscription_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/subscription","commits_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/commits{/sha}","git_commits_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/git/commits{/sha}","comments_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/comments{/number}","issue_comment_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/issues/comments{/number}","contents_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/contents/{+path}","compare_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/merges","archive_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/downloads","issues_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/issues{/number}","pulls_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/pulls{/number}","milestones_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/milestones{/number}","notifications_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/labels{/name}","releases_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/releases{/id}","deployments_url":"https://api.github.com/repos/arthrp/BenchmarkDotNet/deployments","created_at":"2016-08-24T17:30:23Z","updated_at":"2016-08-24T17:30:24Z","pushed_at":"2016-08-24T18:10:32Z","git_url":"git://github.com/arthrp/BenchmarkDotNet.git","ssh_url":"git@github.com:arthrp/BenchmarkDotNet.git","clone_url":"https://github.com/arthrp/BenchmarkDotNet.git","svn_url":"https://github.com/arthrp/BenchmarkDotNet","homepage":"https://perfdotnet.github.io/BenchmarkDotNet/","size":12667,"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":"PerfDotNet:master","ref":"master","sha":"29ee0ace847828eebf16532137bde7ba7eead9d0","user":{"login":"PerfDotNet","id":12517848,"avatar_url":"https://avatars.githubusercontent.com/u/12517848?v=3","gravatar_id":"","url":"https://api.github.com/users/PerfDotNet","html_url":"https://github.com/PerfDotNet","followers_url":"https://api.github.com/users/PerfDotNet/followers","following_url":"https://api.github.com/users/PerfDotNet/following{/other_user}","gists_url":"https://api.github.com/users/PerfDotNet/gists{/gist_id}","starred_url":"https://api.github.com/users/PerfDotNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerfDotNet/subscriptions","organizations_url":"https://api.github.com/users/PerfDotNet/orgs","repos_url":"https://api.github.com/users/PerfDotNet/repos","events_url":"https://api.github.com/users/PerfDotNet/events{/privacy}","received_events_url":"https://api.github.com/users/PerfDotNet/received_events","type":"Organization","site_admin":false},"repo":{"id":12191244,"name":"BenchmarkDotNet","full_name":"PerfDotNet/BenchmarkDotNet","owner":{"login":"PerfDotNet","id":12517848,"avatar_url":"https://avatars.githubusercontent.com/u/12517848?v=3","gravatar_id":"","url":"https://api.github.com/users/PerfDotNet","html_url":"https://github.com/PerfDotNet","followers_url":"https://api.github.com/users/PerfDotNet/followers","following_url":"https://api.github.com/users/PerfDotNet/following{/other_user}","gists_url":"https://api.github.com/users/PerfDotNet/gists{/gist_id}","starred_url":"https://api.github.com/users/PerfDotNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerfDotNet/subscriptions","organizations_url":"https://api.github.com/users/PerfDotNet/orgs","repos_url":"https://api.github.com/users/PerfDotNet/repos","events_url":"https://api.github.com/users/PerfDotNet/events{/privacy}","received_events_url":"https://api.github.com/users/PerfDotNet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PerfDotNet/BenchmarkDotNet","description":"Powerful .NET library for benchmarking","fork":false,"url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet","forks_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/forks","keys_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/teams","hooks_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/hooks","issue_events_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/events{/number}","events_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/events","assignees_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/assignees{/user}","branches_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/branches{/branch}","tags_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/tags","blobs_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/statuses/{sha}","languages_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/languages","stargazers_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/stargazers","contributors_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/contributors","subscribers_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/subscribers","subscription_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/subscription","commits_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/contents/{+path}","compare_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/merges","archive_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/downloads","issues_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues{/number}","pulls_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls{/number}","milestones_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/milestones{/number}","notifications_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/labels{/name}","releases_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/releases{/id}","deployments_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/deployments","created_at":"2013-08-18T06:17:48Z","updated_at":"2016-08-24T14:59:20Z","pushed_at":"2016-08-20T10:56:24Z","git_url":"git://github.com/PerfDotNet/BenchmarkDotNet.git","ssh_url":"git@github.com:PerfDotNet/BenchmarkDotNet.git","clone_url":"https://github.com/PerfDotNet/BenchmarkDotNet.git","svn_url":"https://github.com/PerfDotNet/BenchmarkDotNet","homepage":"https://perfdotnet.github.io/BenchmarkDotNet/","size":12667,"stargazers_count":1225,"watchers_count":1225,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":100,"mirror_url":null,"open_issues_count":42,"forks":100,"open_issues":42,"watchers":1225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251"},"html":{"href":"https://github.com/PerfDotNet/BenchmarkDotNet/pull/251"},"issue":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/251"},"comments":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/statuses/26c33328975a61a1e4a3b07076aaba8fe29e76b3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"arthrp"}}