{"action":"created","comment":{"url":"https://api.github.com/repos/AlexArchive/Validator/pulls/comments/50125214","id":50125214,"diff_hunk":"@@ -24,9 +24,7 @@ public static bool IsIsbn(string input, IsbnVersion version = IsbnVersion.Any)\n                 case IsbnVersion.Ten:\n                     return IsIsbn10(input);\n             }\n-            throw new ArgumentOutOfRangeException(\n-                \"version\",\n-                string.Format(\"Isbn version {0} is not supported.\", version));\n+            throw new ArgumentOutOfRangeException(nameof(version), $\"Isbn version {version} is not supported.\");","path":"Validator/IsIsbn.cs","position":7,"original_position":7,"commit_id":"fc46dacc5de1345dfac9e0a1ffb4d755651f1dc9","original_commit_id":"fc46dacc5de1345dfac9e0a1ffb4d755651f1dc9","user":{"login":"ledbutter","id":3759836,"avatar_url":"https://avatars.githubusercontent.com/u/3759836?v=3","gravatar_id":"","url":"https://api.github.com/users/ledbutter","html_url":"https://github.com/ledbutter","followers_url":"https://api.github.com/users/ledbutter/followers","following_url":"https://api.github.com/users/ledbutter/following{/other_user}","gists_url":"https://api.github.com/users/ledbutter/gists{/gist_id}","starred_url":"https://api.github.com/users/ledbutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledbutter/subscriptions","organizations_url":"https://api.github.com/users/ledbutter/orgs","repos_url":"https://api.github.com/users/ledbutter/repos","events_url":"https://api.github.com/users/ledbutter/events{/privacy}","received_events_url":"https://api.github.com/users/ledbutter/received_events","type":"User","site_admin":false},"body":"And the new `nameof()`","created_at":"2016-01-19T15:25:00Z","updated_at":"2016-01-19T15:25:00Z","html_url":"https://github.com/AlexArchive/Validator/pull/43#discussion_r50125214","pull_request_url":"https://api.github.com/repos/AlexArchive/Validator/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/comments/50125214"},"html":{"href":"https://github.com/AlexArchive/Validator/pull/43#discussion_r50125214"},"pull_request":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/AlexArchive/Validator/pulls/43","id":56411680,"html_url":"https://github.com/AlexArchive/Validator/pull/43","diff_url":"https://github.com/AlexArchive/Validator/pull/43.diff","patch_url":"https://github.com/AlexArchive/Validator/pull/43.patch","issue_url":"https://api.github.com/repos/AlexArchive/Validator/issues/43","number":43,"state":"open","locked":false,"title":"PR for Issue #36 and Issue #25","user":{"login":"mgmccarthy","id":2428993,"avatar_url":"https://avatars.githubusercontent.com/u/2428993?v=3","gravatar_id":"","url":"https://api.github.com/users/mgmccarthy","html_url":"https://github.com/mgmccarthy","followers_url":"https://api.github.com/users/mgmccarthy/followers","following_url":"https://api.github.com/users/mgmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/mgmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmccarthy/subscriptions","organizations_url":"https://api.github.com/users/mgmccarthy/orgs","repos_url":"https://api.github.com/users/mgmccarthy/repos","events_url":"https://api.github.com/users/mgmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/mgmccarthy/received_events","type":"User","site_admin":false},"body":"C#6 upgrades as well as some style cleanup. If they style leaves something to be desired, I can correct it in another PR.","created_at":"2016-01-19T01:39:23Z","updated_at":"2016-01-19T15:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bd48a16cb8c16381e51c7bd25190c1fd697d983","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AlexArchive/Validator/pulls/43/commits","review_comments_url":"https://api.github.com/repos/AlexArchive/Validator/pulls/43/comments","review_comment_url":"https://api.github.com/repos/AlexArchive/Validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexArchive/Validator/issues/43/comments","statuses_url":"https://api.github.com/repos/AlexArchive/Validator/statuses/fc46dacc5de1345dfac9e0a1ffb4d755651f1dc9","head":{"label":"mgmccarthy:master","ref":"master","sha":"fc46dacc5de1345dfac9e0a1ffb4d755651f1dc9","user":{"login":"mgmccarthy","id":2428993,"avatar_url":"https://avatars.githubusercontent.com/u/2428993?v=3","gravatar_id":"","url":"https://api.github.com/users/mgmccarthy","html_url":"https://github.com/mgmccarthy","followers_url":"https://api.github.com/users/mgmccarthy/followers","following_url":"https://api.github.com/users/mgmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/mgmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmccarthy/subscriptions","organizations_url":"https://api.github.com/users/mgmccarthy/orgs","repos_url":"https://api.github.com/users/mgmccarthy/repos","events_url":"https://api.github.com/users/mgmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/mgmccarthy/received_events","type":"User","site_admin":false},"repo":{"id":49647341,"name":"Validator","full_name":"mgmccarthy/Validator","owner":{"login":"mgmccarthy","id":2428993,"avatar_url":"https://avatars.githubusercontent.com/u/2428993?v=3","gravatar_id":"","url":"https://api.github.com/users/mgmccarthy","html_url":"https://github.com/mgmccarthy","followers_url":"https://api.github.com/users/mgmccarthy/followers","following_url":"https://api.github.com/users/mgmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/mgmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmccarthy/subscriptions","organizations_url":"https://api.github.com/users/mgmccarthy/orgs","repos_url":"https://api.github.com/users/mgmccarthy/repos","events_url":"https://api.github.com/users/mgmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/mgmccarthy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgmccarthy/Validator","description":"","fork":true,"url":"https://api.github.com/repos/mgmccarthy/Validator","forks_url":"https://api.github.com/repos/mgmccarthy/Validator/forks","keys_url":"https://api.github.com/repos/mgmccarthy/Validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgmccarthy/Validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgmccarthy/Validator/teams","hooks_url":"https://api.github.com/repos/mgmccarthy/Validator/hooks","issue_events_url":"https://api.github.com/repos/mgmccarthy/Validator/issues/events{/number}","events_url":"https://api.github.com/repos/mgmccarthy/Validator/events","assignees_url":"https://api.github.com/repos/mgmccarthy/Validator/assignees{/user}","branches_url":"https://api.github.com/repos/mgmccarthy/Validator/branches{/branch}","tags_url":"https://api.github.com/repos/mgmccarthy/Validator/tags","blobs_url":"https://api.github.com/repos/mgmccarthy/Validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgmccarthy/Validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgmccarthy/Validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgmccarthy/Validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgmccarthy/Validator/statuses/{sha}","languages_url":"https://api.github.com/repos/mgmccarthy/Validator/languages","stargazers_url":"https://api.github.com/repos/mgmccarthy/Validator/stargazers","contributors_url":"https://api.github.com/repos/mgmccarthy/Validator/contributors","subscribers_url":"https://api.github.com/repos/mgmccarthy/Validator/subscribers","subscription_url":"https://api.github.com/repos/mgmccarthy/Validator/subscription","commits_url":"https://api.github.com/repos/mgmccarthy/Validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgmccarthy/Validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgmccarthy/Validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgmccarthy/Validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgmccarthy/Validator/contents/{+path}","compare_url":"https://api.github.com/repos/mgmccarthy/Validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgmccarthy/Validator/merges","archive_url":"https://api.github.com/repos/mgmccarthy/Validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgmccarthy/Validator/downloads","issues_url":"https://api.github.com/repos/mgmccarthy/Validator/issues{/number}","pulls_url":"https://api.github.com/repos/mgmccarthy/Validator/pulls{/number}","milestones_url":"https://api.github.com/repos/mgmccarthy/Validator/milestones{/number}","notifications_url":"https://api.github.com/repos/mgmccarthy/Validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgmccarthy/Validator/labels{/name}","releases_url":"https://api.github.com/repos/mgmccarthy/Validator/releases{/id}","created_at":"2016-01-14T12:57:44Z","updated_at":"2016-01-14T12:57:45Z","pushed_at":"2016-01-15T22:41:28Z","git_url":"git://github.com/mgmccarthy/Validator.git","ssh_url":"git@github.com:mgmccarthy/Validator.git","clone_url":"https://github.com/mgmccarthy/Validator.git","svn_url":"https://github.com/mgmccarthy/Validator","homepage":null,"size":556,"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":"AlexArchive:master","ref":"master","sha":"ae634ece5e08400e6a8fb5c2a068e5e137e6812b","user":{"login":"AlexArchive","id":2092112,"avatar_url":"https://avatars.githubusercontent.com/u/2092112?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexArchive","html_url":"https://github.com/AlexArchive","followers_url":"https://api.github.com/users/AlexArchive/followers","following_url":"https://api.github.com/users/AlexArchive/following{/other_user}","gists_url":"https://api.github.com/users/AlexArchive/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexArchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexArchive/subscriptions","organizations_url":"https://api.github.com/users/AlexArchive/orgs","repos_url":"https://api.github.com/users/AlexArchive/repos","events_url":"https://api.github.com/users/AlexArchive/events{/privacy}","received_events_url":"https://api.github.com/users/AlexArchive/received_events","type":"User","site_admin":false},"repo":{"id":29133487,"name":"Validator","full_name":"AlexArchive/Validator","owner":{"login":"AlexArchive","id":2092112,"avatar_url":"https://avatars.githubusercontent.com/u/2092112?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexArchive","html_url":"https://github.com/AlexArchive","followers_url":"https://api.github.com/users/AlexArchive/followers","following_url":"https://api.github.com/users/AlexArchive/following{/other_user}","gists_url":"https://api.github.com/users/AlexArchive/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexArchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexArchive/subscriptions","organizations_url":"https://api.github.com/users/AlexArchive/orgs","repos_url":"https://api.github.com/users/AlexArchive/repos","events_url":"https://api.github.com/users/AlexArchive/events{/privacy}","received_events_url":"https://api.github.com/users/AlexArchive/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexArchive/Validator","description":"","fork":false,"url":"https://api.github.com/repos/AlexArchive/Validator","forks_url":"https://api.github.com/repos/AlexArchive/Validator/forks","keys_url":"https://api.github.com/repos/AlexArchive/Validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexArchive/Validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexArchive/Validator/teams","hooks_url":"https://api.github.com/repos/AlexArchive/Validator/hooks","issue_events_url":"https://api.github.com/repos/AlexArchive/Validator/issues/events{/number}","events_url":"https://api.github.com/repos/AlexArchive/Validator/events","assignees_url":"https://api.github.com/repos/AlexArchive/Validator/assignees{/user}","branches_url":"https://api.github.com/repos/AlexArchive/Validator/branches{/branch}","tags_url":"https://api.github.com/repos/AlexArchive/Validator/tags","blobs_url":"https://api.github.com/repos/AlexArchive/Validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexArchive/Validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexArchive/Validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexArchive/Validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexArchive/Validator/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexArchive/Validator/languages","stargazers_url":"https://api.github.com/repos/AlexArchive/Validator/stargazers","contributors_url":"https://api.github.com/repos/AlexArchive/Validator/contributors","subscribers_url":"https://api.github.com/repos/AlexArchive/Validator/subscribers","subscription_url":"https://api.github.com/repos/AlexArchive/Validator/subscription","commits_url":"https://api.github.com/repos/AlexArchive/Validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexArchive/Validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexArchive/Validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexArchive/Validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexArchive/Validator/contents/{+path}","compare_url":"https://api.github.com/repos/AlexArchive/Validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexArchive/Validator/merges","archive_url":"https://api.github.com/repos/AlexArchive/Validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexArchive/Validator/downloads","issues_url":"https://api.github.com/repos/AlexArchive/Validator/issues{/number}","pulls_url":"https://api.github.com/repos/AlexArchive/Validator/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexArchive/Validator/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexArchive/Validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexArchive/Validator/labels{/name}","releases_url":"https://api.github.com/repos/AlexArchive/Validator/releases{/id}","created_at":"2015-01-12T12:00:47Z","updated_at":"2016-01-04T09:17:34Z","pushed_at":"2016-01-19T01:39:24Z","git_url":"git://github.com/AlexArchive/Validator.git","ssh_url":"git@github.com:AlexArchive/Validator.git","clone_url":"https://github.com/AlexArchive/Validator.git","svn_url":"https://github.com/AlexArchive/Validator","homepage":null,"size":930,"stargazers_count":14,"watchers_count":14,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/43"},"html":{"href":"https://github.com/AlexArchive/Validator/pull/43"},"issue":{"href":"https://api.github.com/repos/AlexArchive/Validator/issues/43"},"comments":{"href":"https://api.github.com/repos/AlexArchive/Validator/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexArchive/Validator/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/AlexArchive/Validator/statuses/fc46dacc5de1345dfac9e0a1ffb4d755651f1dc9"}}}}