{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/52693746","id":52693746,"diff_hunk":"@@ -2078,7 +2078,7 @@ internal static BinaryOperationKind DeriveBinaryOperationKind(UnaryOperationKind\n                     return BinaryOperationKind.DynamicSubtract;\n \n                 default:\n-                    throw ExceptionUtilities.UnexpectedValue(incrementKind);\n+                    return BinaryOperationKind.None;","path":"src/Compilers/CSharp/Portable/BoundTree/Expression.cs","position":5,"original_position":5,"commit_id":"00a455f4bdcd5e073d3b0d7f142d468640f4c461","original_commit_id":"00a455f4bdcd5e073d3b0d7f142d468640f4c461","user":{"login":"JohnHamby","id":10982715,"avatar_url":"https://avatars.githubusercontent.com/u/10982715?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnHamby","html_url":"https://github.com/JohnHamby","followers_url":"https://api.github.com/users/JohnHamby/followers","following_url":"https://api.github.com/users/JohnHamby/following{/other_user}","gists_url":"https://api.github.com/users/JohnHamby/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnHamby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnHamby/subscriptions","organizations_url":"https://api.github.com/users/JohnHamby/orgs","repos_url":"https://api.github.com/users/JohnHamby/repos","events_url":"https://api.github.com/users/JohnHamby/events{/privacy}","received_events_url":"https://api.github.com/users/JohnHamby/received_events","type":"User","site_admin":false},"body":"Hmmm.... Since this value will actually occur, maybe it should be renamed \"Invalid\" or some such.","created_at":"2016-02-12T01:03:57Z","updated_at":"2016-02-12T01:03:57Z","html_url":"https://github.com/dotnet/roslyn/pull/8612#discussion_r52693746","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8612","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/52693746"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8612#discussion_r52693746"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8612"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/8612","id":59118257,"html_url":"https://github.com/dotnet/roslyn/pull/8612","diff_url":"https://github.com/dotnet/roslyn/pull/8612.diff","patch_url":"https://github.com/dotnet/roslyn/pull/8612.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8612","number":8612,"state":"open","locked":false,"title":"Fix IBinaryOperatorExpression, IUnaryOperatorExpression and IIncrementExpression","user":{"login":"genlu","id":788783,"avatar_url":"https://avatars.githubusercontent.com/u/788783?v=3","gravatar_id":"","url":"https://api.github.com/users/genlu","html_url":"https://github.com/genlu","followers_url":"https://api.github.com/users/genlu/followers","following_url":"https://api.github.com/users/genlu/following{/other_user}","gists_url":"https://api.github.com/users/genlu/gists{/gist_id}","starred_url":"https://api.github.com/users/genlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genlu/subscriptions","organizations_url":"https://api.github.com/users/genlu/orgs","repos_url":"https://api.github.com/users/genlu/repos","events_url":"https://api.github.com/users/genlu/events{/privacy}","received_events_url":"https://api.github.com/users/genlu/received_events","type":"User","site_admin":false},"body":"So the `BinaryOperationKind`/`UnaryOperationKind` property will return None kind instead of throwing exception. This fixes #8114 .\r\n\r\nFYI @JohnHamby @srivatsn @dotnet/roslyn-interactive @lgolding \r\n ","created_at":"2016-02-12T00:43:05Z","updated_at":"2016-02-12T01:03:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"241b95cccf8a785e74507909b77ecaa32a37de6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8612/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8612/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8612/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/00a455f4bdcd5e073d3b0d7f142d468640f4c461","head":{"label":"genlu:fix8114","ref":"fix8114","sha":"00a455f4bdcd5e073d3b0d7f142d468640f4c461","user":{"login":"genlu","id":788783,"avatar_url":"https://avatars.githubusercontent.com/u/788783?v=3","gravatar_id":"","url":"https://api.github.com/users/genlu","html_url":"https://github.com/genlu","followers_url":"https://api.github.com/users/genlu/followers","following_url":"https://api.github.com/users/genlu/following{/other_user}","gists_url":"https://api.github.com/users/genlu/gists{/gist_id}","starred_url":"https://api.github.com/users/genlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genlu/subscriptions","organizations_url":"https://api.github.com/users/genlu/orgs","repos_url":"https://api.github.com/users/genlu/repos","events_url":"https://api.github.com/users/genlu/events{/privacy}","received_events_url":"https://api.github.com/users/genlu/received_events","type":"User","site_admin":false},"repo":{"id":38650594,"name":"roslyn","full_name":"genlu/roslyn","owner":{"login":"genlu","id":788783,"avatar_url":"https://avatars.githubusercontent.com/u/788783?v=3","gravatar_id":"","url":"https://api.github.com/users/genlu","html_url":"https://github.com/genlu","followers_url":"https://api.github.com/users/genlu/followers","following_url":"https://api.github.com/users/genlu/following{/other_user}","gists_url":"https://api.github.com/users/genlu/gists{/gist_id}","starred_url":"https://api.github.com/users/genlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genlu/subscriptions","organizations_url":"https://api.github.com/users/genlu/orgs","repos_url":"https://api.github.com/users/genlu/repos","events_url":"https://api.github.com/users/genlu/events{/privacy}","received_events_url":"https://api.github.com/users/genlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/genlu/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/genlu/roslyn","forks_url":"https://api.github.com/repos/genlu/roslyn/forks","keys_url":"https://api.github.com/repos/genlu/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genlu/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genlu/roslyn/teams","hooks_url":"https://api.github.com/repos/genlu/roslyn/hooks","issue_events_url":"https://api.github.com/repos/genlu/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/genlu/roslyn/events","assignees_url":"https://api.github.com/repos/genlu/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/genlu/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/genlu/roslyn/tags","blobs_url":"https://api.github.com/repos/genlu/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genlu/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genlu/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/genlu/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genlu/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/genlu/roslyn/languages","stargazers_url":"https://api.github.com/repos/genlu/roslyn/stargazers","contributors_url":"https://api.github.com/repos/genlu/roslyn/contributors","subscribers_url":"https://api.github.com/repos/genlu/roslyn/subscribers","subscription_url":"https://api.github.com/repos/genlu/roslyn/subscription","commits_url":"https://api.github.com/repos/genlu/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/genlu/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/genlu/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/genlu/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/genlu/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/genlu/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genlu/roslyn/merges","archive_url":"https://api.github.com/repos/genlu/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genlu/roslyn/downloads","issues_url":"https://api.github.com/repos/genlu/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/genlu/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/genlu/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/genlu/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genlu/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/genlu/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/genlu/roslyn/deployments","created_at":"2015-07-06T22:48:49Z","updated_at":"2015-07-06T22:49:19Z","pushed_at":"2016-02-12T00:41:44Z","git_url":"git://github.com/genlu/roslyn.git","ssh_url":"git@github.com:genlu/roslyn.git","clone_url":"https://github.com/genlu/roslyn.git","svn_url":"https://github.com/genlu/roslyn","homepage":"","size":132604,"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":"dotnet:master","ref":"master","sha":"4fac0edfe4e8fc1dbc706543305ad3347a4e4847","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":29078997,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/roslyn/deployments","created_at":"2015-01-11T02:39:03Z","updated_at":"2016-02-11T19:48:15Z","pushed_at":"2016-02-12T00:56:12Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":157002,"stargazers_count":4409,"watchers_count":4409,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1084,"mirror_url":null,"open_issues_count":2080,"forks":1084,"open_issues":2080,"watchers":4409,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8612"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8612"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8612"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8612/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8612/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8612/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/00a455f4bdcd5e073d3b0d7f142d468640f4c461"}}}}