{"action":"opened","number":95,"pull_request":{"url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95","id":43386951,"html_url":"https://github.com/icsharpcode/RefactoringEssentials/pull/95","diff_url":"https://github.com/icsharpcode/RefactoringEssentials/pull/95.diff","patch_url":"https://github.com/icsharpcode/RefactoringEssentials/pull/95.patch","issue_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/95","number":95,"state":"open","locked":false,"title":"?: is suggested for ifs with nested if/elses but should not be","user":{"login":"danbrad","id":367304,"avatar_url":"https://avatars.githubusercontent.com/u/367304?v=3","gravatar_id":"","url":"https://api.github.com/users/danbrad","html_url":"https://github.com/danbrad","followers_url":"https://api.github.com/users/danbrad/followers","following_url":"https://api.github.com/users/danbrad/following{/other_user}","gists_url":"https://api.github.com/users/danbrad/gists{/gist_id}","starred_url":"https://api.github.com/users/danbrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbrad/subscriptions","organizations_url":"https://api.github.com/users/danbrad/orgs","repos_url":"https://api.github.com/users/danbrad/repos","events_url":"https://api.github.com/users/danbrad/events{/privacy}","received_events_url":"https://api.github.com/users/danbrad/received_events","type":"User","site_admin":false},"body":"ConvertIfStatementToConditionalTernaryExpressionCodeRefactoringProvider has a comment:\r\n\r\n  //make sure to check for multiple statements\r\n\r\nbut multiple descendent expressions are also problematic. The effect of this is that ?: is suggested, but only the first of the descendent expressions is pulled through, causing a lot of code ot be potentially removed. It makes no sense to convert an if with nested if/else to be converted to ?:","created_at":"2015-08-26T10:32:26Z","updated_at":"2015-08-26T10:32:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95/commits","review_comments_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95/comments","review_comment_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/95/comments","statuses_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/statuses/5ef88d7bdba5ea59bd78ae0577f56e72d71cd147","head":{"label":"danbrad:TestSkipMultipleDescendantExpressions","ref":"TestSkipMultipleDescendantExpressions","sha":"5ef88d7bdba5ea59bd78ae0577f56e72d71cd147","user":{"login":"danbrad","id":367304,"avatar_url":"https://avatars.githubusercontent.com/u/367304?v=3","gravatar_id":"","url":"https://api.github.com/users/danbrad","html_url":"https://github.com/danbrad","followers_url":"https://api.github.com/users/danbrad/followers","following_url":"https://api.github.com/users/danbrad/following{/other_user}","gists_url":"https://api.github.com/users/danbrad/gists{/gist_id}","starred_url":"https://api.github.com/users/danbrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbrad/subscriptions","organizations_url":"https://api.github.com/users/danbrad/orgs","repos_url":"https://api.github.com/users/danbrad/repos","events_url":"https://api.github.com/users/danbrad/events{/privacy}","received_events_url":"https://api.github.com/users/danbrad/received_events","type":"User","site_admin":false},"repo":{"id":41412375,"name":"RefactoringEssentials","full_name":"danbrad/RefactoringEssentials","owner":{"login":"danbrad","id":367304,"avatar_url":"https://avatars.githubusercontent.com/u/367304?v=3","gravatar_id":"","url":"https://api.github.com/users/danbrad","html_url":"https://github.com/danbrad","followers_url":"https://api.github.com/users/danbrad/followers","following_url":"https://api.github.com/users/danbrad/following{/other_user}","gists_url":"https://api.github.com/users/danbrad/gists{/gist_id}","starred_url":"https://api.github.com/users/danbrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbrad/subscriptions","organizations_url":"https://api.github.com/users/danbrad/orgs","repos_url":"https://api.github.com/users/danbrad/repos","events_url":"https://api.github.com/users/danbrad/events{/privacy}","received_events_url":"https://api.github.com/users/danbrad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danbrad/RefactoringEssentials","description":"Refactoring Essentials for Visual Studio","fork":true,"url":"https://api.github.com/repos/danbrad/RefactoringEssentials","forks_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/forks","keys_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/teams","hooks_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/hooks","issue_events_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/issues/events{/number}","events_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/events","assignees_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/assignees{/user}","branches_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/branches{/branch}","tags_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/tags","blobs_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/git/refs{/sha}","trees_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/statuses/{sha}","languages_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/languages","stargazers_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/stargazers","contributors_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/contributors","subscribers_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/subscribers","subscription_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/subscription","commits_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/commits{/sha}","git_commits_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/git/commits{/sha}","comments_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/comments{/number}","issue_comment_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/issues/comments{/number}","contents_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/contents/{+path}","compare_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/merges","archive_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/downloads","issues_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/issues{/number}","pulls_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/pulls{/number}","milestones_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/milestones{/number}","notifications_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/labels{/name}","releases_url":"https://api.github.com/repos/danbrad/RefactoringEssentials/releases{/id}","created_at":"2015-08-26T07:55:35Z","updated_at":"2015-08-26T07:55:38Z","pushed_at":"2015-08-26T10:26:42Z","git_url":"git://github.com/danbrad/RefactoringEssentials.git","ssh_url":"git@github.com:danbrad/RefactoringEssentials.git","clone_url":"https://github.com/danbrad/RefactoringEssentials.git","svn_url":"https://github.com/danbrad/RefactoringEssentials","homepage":null,"size":3966,"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":"icsharpcode:master","ref":"master","sha":"9814ca2d8a92aa7e0d664fe919031b64febaff33","user":{"login":"icsharpcode","id":343434,"avatar_url":"https://avatars.githubusercontent.com/u/343434?v=3","gravatar_id":"","url":"https://api.github.com/users/icsharpcode","html_url":"https://github.com/icsharpcode","followers_url":"https://api.github.com/users/icsharpcode/followers","following_url":"https://api.github.com/users/icsharpcode/following{/other_user}","gists_url":"https://api.github.com/users/icsharpcode/gists{/gist_id}","starred_url":"https://api.github.com/users/icsharpcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icsharpcode/subscriptions","organizations_url":"https://api.github.com/users/icsharpcode/orgs","repos_url":"https://api.github.com/users/icsharpcode/repos","events_url":"https://api.github.com/users/icsharpcode/events{/privacy}","received_events_url":"https://api.github.com/users/icsharpcode/received_events","type":"Organization","site_admin":false},"repo":{"id":36566138,"name":"RefactoringEssentials","full_name":"icsharpcode/RefactoringEssentials","owner":{"login":"icsharpcode","id":343434,"avatar_url":"https://avatars.githubusercontent.com/u/343434?v=3","gravatar_id":"","url":"https://api.github.com/users/icsharpcode","html_url":"https://github.com/icsharpcode","followers_url":"https://api.github.com/users/icsharpcode/followers","following_url":"https://api.github.com/users/icsharpcode/following{/other_user}","gists_url":"https://api.github.com/users/icsharpcode/gists{/gist_id}","starred_url":"https://api.github.com/users/icsharpcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icsharpcode/subscriptions","organizations_url":"https://api.github.com/users/icsharpcode/orgs","repos_url":"https://api.github.com/users/icsharpcode/repos","events_url":"https://api.github.com/users/icsharpcode/events{/privacy}","received_events_url":"https://api.github.com/users/icsharpcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icsharpcode/RefactoringEssentials","description":"Refactoring Essentials for Visual Studio","fork":false,"url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials","forks_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/forks","keys_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/teams","hooks_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/hooks","issue_events_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/events{/number}","events_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/events","assignees_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/assignees{/user}","branches_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/branches{/branch}","tags_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/tags","blobs_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/git/refs{/sha}","trees_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/statuses/{sha}","languages_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/languages","stargazers_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/stargazers","contributors_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/contributors","subscribers_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/subscribers","subscription_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/subscription","commits_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/commits{/sha}","git_commits_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/git/commits{/sha}","comments_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/comments{/number}","issue_comment_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/comments{/number}","contents_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/contents/{+path}","compare_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/merges","archive_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/downloads","issues_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues{/number}","pulls_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls{/number}","milestones_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/milestones{/number}","notifications_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/labels{/name}","releases_url":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/releases{/id}","created_at":"2015-05-30T16:30:19Z","updated_at":"2015-08-25T03:14:53Z","pushed_at":"2015-08-26T10:29:18Z","git_url":"git://github.com/icsharpcode/RefactoringEssentials.git","ssh_url":"git@github.com:icsharpcode/RefactoringEssentials.git","clone_url":"https://github.com/icsharpcode/RefactoringEssentials.git","svn_url":"https://github.com/icsharpcode/RefactoringEssentials","homepage":null,"size":3966,"stargazers_count":169,"watchers_count":169,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":26,"forks":29,"open_issues":26,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95"},"html":{"href":"https://github.com/icsharpcode/RefactoringEssentials/pull/95"},"issue":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/95"},"comments":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/icsharpcode/RefactoringEssentials/statuses/5ef88d7bdba5ea59bd78ae0577f56e72d71cd147"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":2,"changed_files":2}}