{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/215815840","pull_request_review_id":153168222,"id":215815840,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTgxNTg0MA==","diff_hunk":"@@ -173,6 +173,26 @@ End Class\",\n End Class\")\n         End Function\n \n+        <Fact, Trait(Traits.Feature, Traits.Features.CodeActionsUseAutoProperty)>\n+        <WorkItem(28989, \"https://github.com/dotnet/roslyn/issues/28989\")>\n+        Public Async Function TestInitializer_BooleanWithComments() As Task\n+            Await TestInRegularAndScriptAsync(\n+\"Public Class C\n+    Private _b As Boolean = True 'Comments1\n+    Public Property [|P|]() As Boolean 'Comments2\n+        Get\n+            Return _b\n+        End Get\n+        Set(value As Boolean)\n+            _b = value\n+        End Set\n+    End Property\n+End Class\",\n+\"Public Class C\n+    Public Property P() As Boolean = True 'Comments2 'Comments1\n+End Class\")\n+        End Function","path":"src/EditorFeatures/VisualBasicTest/UseAutoProperty/UseAutoPropertyTests.vb","position":52,"original_position":22,"commit_id":"c265e7ca54e131551ed8872c098867a148d580eb","original_commit_id":"c265e7ca54e131551ed8872c098867a148d580eb","user":{"login":"CyrusNajmabadi","id":4564579,"node_id":"MDQ6VXNlcjQ1NjQ1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4564579?v=4","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"body":"can we have a test with a multiline field initializer?  ","created_at":"2018-09-07T00:26:42Z","updated_at":"2018-09-07T00:26:42Z","html_url":"https://github.com/dotnet/roslyn/pull/29686#discussion_r215815840","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/29686","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/215815840"},"html":{"href":"https://github.com/dotnet/roslyn/pull/29686#discussion_r215815840"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/29686"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/29686","id":213458342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNDU4MzQy","html_url":"https://github.com/dotnet/roslyn/pull/29686","diff_url":"https://github.com/dotnet/roslyn/pull/29686.diff","patch_url":"https://github.com/dotnet/roslyn/pull/29686.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/29686","number":29686,"state":"open","locked":false,"title":"VB - fix broken code generated when converting to auto property","user":{"login":"chborl","id":25776963,"node_id":"MDQ6VXNlcjI1Nzc2OTYz","avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"body":"Fixes #28989\r\n\r\nCustomer scenario:\r\nVB only - when a backing field has an initial value, converting it to an auto property will put the initializer on a new line which results in broken code\r\n\r\nFix:\r\nIf the statement has trailing end of line trivia, remove it before adding the initializer","created_at":"2018-09-05T23:45:59Z","updated_at":"2018-09-07T00:26:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4ef9ad73fe68ba060168e1f49a6b09e4cecb8cc","assignee":{"login":"sharwell","id":1408396,"node_id":"MDQ6VXNlcjE0MDgzOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"assignees":[{"login":"sharwell","id":1408396,"node_id":"MDQ6VXNlcjE0MDgzOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/18","html_url":"https://github.com/dotnet/roslyn/milestone/18","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/18/labels","id":1675130,"node_id":"MDk6TWlsZXN0b25lMTY3NTEzMA==","number":18,"title":"16.0","description":"The version *after* the next major version.","creator":{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","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},"open_issues":1219,"closed_issues":588,"state":"open","created_at":"2016-03-31T00:06:25Z","updated_at":"2018-09-06T23:17:14Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/29686/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/29686/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/29686/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/c265e7ca54e131551ed8872c098867a148d580eb","head":{"label":"chborl:useautopropVBissue","ref":"useautopropVBissue","sha":"c265e7ca54e131551ed8872c098867a148d580eb","user":{"login":"chborl","id":25776963,"node_id":"MDQ6VXNlcjI1Nzc2OTYz","avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"repo":{"id":86380614,"node_id":"MDEwOlJlcG9zaXRvcnk4NjM4MDYxNA==","name":"roslyn","full_name":"chborl/roslyn","owner":{"login":"chborl","id":25776963,"node_id":"MDQ6VXNlcjI1Nzc2OTYz","avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chborl/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/chborl/roslyn","forks_url":"https://api.github.com/repos/chborl/roslyn/forks","keys_url":"https://api.github.com/repos/chborl/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chborl/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chborl/roslyn/teams","hooks_url":"https://api.github.com/repos/chborl/roslyn/hooks","issue_events_url":"https://api.github.com/repos/chborl/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/chborl/roslyn/events","assignees_url":"https://api.github.com/repos/chborl/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/chborl/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/chborl/roslyn/tags","blobs_url":"https://api.github.com/repos/chborl/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chborl/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chborl/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/chborl/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chborl/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/chborl/roslyn/languages","stargazers_url":"https://api.github.com/repos/chborl/roslyn/stargazers","contributors_url":"https://api.github.com/repos/chborl/roslyn/contributors","subscribers_url":"https://api.github.com/repos/chborl/roslyn/subscribers","subscription_url":"https://api.github.com/repos/chborl/roslyn/subscription","commits_url":"https://api.github.com/repos/chborl/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/chborl/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/chborl/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/chborl/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/chborl/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/chborl/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chborl/roslyn/merges","archive_url":"https://api.github.com/repos/chborl/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chborl/roslyn/downloads","issues_url":"https://api.github.com/repos/chborl/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/chborl/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/chborl/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/chborl/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chborl/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/chborl/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/chborl/roslyn/deployments","created_at":"2017-03-27T20:24:35Z","updated_at":"2018-09-04T17:34:38Z","pushed_at":"2018-09-07T00:24:07Z","git_url":"git://github.com/chborl/roslyn.git","ssh_url":"git@github.com:chborl/roslyn.git","clone_url":"https://github.com/chborl/roslyn.git","svn_url":"https://github.com/chborl/roslyn","homepage":"","size":359029,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"3c69b4bb837c4998028711291f63068c9bbf57f7","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyOTA3ODk5Nw==","name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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":"2018-09-06T23:15:41Z","pushed_at":"2018-09-07T00:24:09Z","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":443015,"stargazers_count":9803,"watchers_count":9803,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2333,"mirror_url":null,"archived":false,"open_issues_count":5102,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2333,"open_issues":5102,"watchers":9803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/29686"},"html":{"href":"https://github.com/dotnet/roslyn/pull/29686"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/29686"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/29686/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/29686/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/29686/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/c265e7ca54e131551ed8872c098867a148d580eb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"CyrusNajmabadi"}}