{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/55433835","id":55433835,"diff_hunk":"@@ -192,12 +194,13 @@ internal override bool IsExpressionBodied\n             MethodKind methodKind,\n             bool isAutoPropertyAccessor,\n             DiagnosticBag diagnostics) :\n-            base(containingType, syntax.GetReference(), syntax.Body?.GetReference(), location)\n+            base(containingType, syntax.GetReference(), syntax.Body?.GetReference() ?? syntax.ExpressionBody?.GetReference(), location)\n         {\n             _property = property;\n             _explicitInterfaceImplementations = explicitInterfaceImplementations;\n             _name = name;\n             _isAutoPropertyAccessor = isAutoPropertyAccessor;\n+            _isExpressionBodied = (syntax.Body == null && syntax.ExpressionBody != null) ? true : _property.IsExpressionBodied;","path":"src/Compilers/CSharp/Portable/Symbols/Source/SourcePropertyAccessorSymbol.cs","position":36,"original_position":36,"commit_id":"99cf1cbb8425c3392e6c1e12efaf25617a37dbdb","original_commit_id":"bea9ba9514e217c05fcd8aff247330084d9d1439","user":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"body":"I am saying that this logic doesn't make sense and we should correct it. Look, when we are calling base constructor we are going to pass a block or a getter's expression body as the syntax for the body. Why would we care if the property itself has an expression body. As it stands right now, it looks like we can en up with an assessor symbol that has a block syntax as its body, and claim that it is expression bodied at the same time. This is inconsistent.","created_at":"2016-03-08T21:48:30Z","updated_at":"2016-03-08T21:48:30Z","html_url":"https://github.com/dotnet/roslyn/pull/8594#discussion_r55433835","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8594","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/55433835"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8594#discussion_r55433835"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8594"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/8594","id":59013755,"html_url":"https://github.com/dotnet/roslyn/pull/8594","diff_url":"https://github.com/dotnet/roslyn/pull/8594.diff","patch_url":"https://github.com/dotnet/roslyn/pull/8594.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8594","number":8594,"state":"open","locked":false,"title":"Expression body syntax for accessors, ctor and finalize","user":{"login":"lachbaer","id":17041498,"avatar_url":"https://avatars.githubusercontent.com/u/17041498?v=3","gravatar_id":"","url":"https://api.github.com/users/lachbaer","html_url":"https://github.com/lachbaer","followers_url":"https://api.github.com/users/lachbaer/followers","following_url":"https://api.github.com/users/lachbaer/following{/other_user}","gists_url":"https://api.github.com/users/lachbaer/gists{/gist_id}","starred_url":"https://api.github.com/users/lachbaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachbaer/subscriptions","organizations_url":"https://api.github.com/users/lachbaer/orgs","repos_url":"https://api.github.com/users/lachbaer/repos","events_url":"https://api.github.com/users/lachbaer/events{/privacy}","received_events_url":"https://api.github.com/users/lachbaer/received_events","type":"User","site_admin":false},"body":"Allowing `=>` arrow operator on `get`, `set`, `add` and `remove` accessors.\r\n(Proposal #7881)","created_at":"2016-02-11T10:45:03Z","updated_at":"2016-03-08T21:48:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59cf2421002ccc539960fc30d95c8e81d8fb3e43","assignee":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/15","html_url":"https://github.com/dotnet/roslyn/milestones/2.0%20(RC)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/15/labels","id":1571383,"number":15,"title":"2.0 (RC)","description":"","creator":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":7,"state":"open","created_at":"2016-02-08T21:53:59Z","updated_at":"2016-03-08T20:18:52Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8594/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/8594/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8594/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/99cf1cbb8425c3392e6c1e12efaf25617a37dbdb","head":{"label":"lachbaer:propaccExpression","ref":"propaccExpression","sha":"99cf1cbb8425c3392e6c1e12efaf25617a37dbdb","user":{"login":"lachbaer","id":17041498,"avatar_url":"https://avatars.githubusercontent.com/u/17041498?v=3","gravatar_id":"","url":"https://api.github.com/users/lachbaer","html_url":"https://github.com/lachbaer","followers_url":"https://api.github.com/users/lachbaer/followers","following_url":"https://api.github.com/users/lachbaer/following{/other_user}","gists_url":"https://api.github.com/users/lachbaer/gists{/gist_id}","starred_url":"https://api.github.com/users/lachbaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachbaer/subscriptions","organizations_url":"https://api.github.com/users/lachbaer/orgs","repos_url":"https://api.github.com/users/lachbaer/repos","events_url":"https://api.github.com/users/lachbaer/events{/privacy}","received_events_url":"https://api.github.com/users/lachbaer/received_events","type":"User","site_admin":false},"repo":{"id":51426176,"name":"roslyn","full_name":"lachbaer/roslyn","owner":{"login":"lachbaer","id":17041498,"avatar_url":"https://avatars.githubusercontent.com/u/17041498?v=3","gravatar_id":"","url":"https://api.github.com/users/lachbaer","html_url":"https://github.com/lachbaer","followers_url":"https://api.github.com/users/lachbaer/followers","following_url":"https://api.github.com/users/lachbaer/following{/other_user}","gists_url":"https://api.github.com/users/lachbaer/gists{/gist_id}","starred_url":"https://api.github.com/users/lachbaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachbaer/subscriptions","organizations_url":"https://api.github.com/users/lachbaer/orgs","repos_url":"https://api.github.com/users/lachbaer/repos","events_url":"https://api.github.com/users/lachbaer/events{/privacy}","received_events_url":"https://api.github.com/users/lachbaer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lachbaer/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/lachbaer/roslyn","forks_url":"https://api.github.com/repos/lachbaer/roslyn/forks","keys_url":"https://api.github.com/repos/lachbaer/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lachbaer/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lachbaer/roslyn/teams","hooks_url":"https://api.github.com/repos/lachbaer/roslyn/hooks","issue_events_url":"https://api.github.com/repos/lachbaer/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/lachbaer/roslyn/events","assignees_url":"https://api.github.com/repos/lachbaer/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/lachbaer/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/lachbaer/roslyn/tags","blobs_url":"https://api.github.com/repos/lachbaer/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lachbaer/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lachbaer/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/lachbaer/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lachbaer/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/lachbaer/roslyn/languages","stargazers_url":"https://api.github.com/repos/lachbaer/roslyn/stargazers","contributors_url":"https://api.github.com/repos/lachbaer/roslyn/contributors","subscribers_url":"https://api.github.com/repos/lachbaer/roslyn/subscribers","subscription_url":"https://api.github.com/repos/lachbaer/roslyn/subscription","commits_url":"https://api.github.com/repos/lachbaer/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/lachbaer/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/lachbaer/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/lachbaer/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/lachbaer/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/lachbaer/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lachbaer/roslyn/merges","archive_url":"https://api.github.com/repos/lachbaer/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lachbaer/roslyn/downloads","issues_url":"https://api.github.com/repos/lachbaer/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/lachbaer/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/lachbaer/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/lachbaer/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lachbaer/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/lachbaer/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/lachbaer/roslyn/deployments","created_at":"2016-02-10T07:09:38Z","updated_at":"2016-02-10T07:10:09Z","pushed_at":"2016-03-08T13:57:37Z","git_url":"git://github.com/lachbaer/roslyn.git","ssh_url":"git@github.com:lachbaer/roslyn.git","clone_url":"https://github.com/lachbaer/roslyn.git","svn_url":"https://github.com/lachbaer/roslyn","homepage":"","size":143174,"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":"future"}},"base":{"label":"dotnet:future","ref":"future","sha":"aa475bc41903782ffc6b26a236100253f83b4dd1","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-03-08T20:44:17Z","pushed_at":"2016-03-08T21:37:02Z","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":166842,"stargazers_count":4595,"watchers_count":4595,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1151,"mirror_url":null,"open_issues_count":2379,"forks":1151,"open_issues":2379,"watchers":4595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8594"},"html":{"href":"https://github.com/dotnet/roslyn/pull/8594"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8594"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/8594/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8594/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/8594/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/99cf1cbb8425c3392e6c1e12efaf25617a37dbdb"}}}}