{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/232076043","pull_request_review_id":173191785,"id":232076043,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjA3NjA0Mw==","diff_hunk":"@@ -0,0 +1,2068 @@\n+﻿// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.\n+\n+using System.Linq;\n+using Microsoft.CodeAnalysis.Editor.CSharp.CompleteStatement;\n+using Microsoft.CodeAnalysis.Editor.UnitTests.CompleteStatement;\n+using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;\n+using Microsoft.CodeAnalysis.Test.Utilities;\n+using Roslyn.Test.Utilities;\n+using Xunit;\n+using VSCommanding = Microsoft.VisualStudio.Commanding;\n+\n+namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CompleteStatement\n+{\n+    public class CSharpCompleteStatementCommandHandlerTests : AbstractCompleteStatementTests\n+    {\n+        private string CreateTestWithMethodCall(string code)\n+        {\n+            return\n+@\"class C\n+    {\n+        static void Main(string[] args)\n+        {\n+            int x = 1;\n+            int y = 2;\n+            int[] a = { 1,2 }\n+            \" + code + @\"\n+\n+            int z = 4;\n+        }\n+    }\n+\n+    static class ClassC\n+    {\n+        internal static int MethodM(int a, int b)\n+            => a * b;\n+    }\n+}\";\n+        }\n+\n+        #region ArgumentListOfMethodInvocation\n+\n+        [WpfFact, Trait(Traits.Feature, Traits.Features.CompleteStatement)]\n+        public void ArgumentListOfMethodInvocation1()\n+        {\n+            var code = CreateTestWithMethodCall(@\"var test = ClassC.MethodM($$x, y)\");\n+\n+            var expected = CreateTestWithMethodCall(@\"var test = ClassC.MethodM(x, y);$$\");\n+\n+            VerifyTypingSemicolon(code, expected);\n+        }\n+\n+        [WpfFact, Trait(Traits.Feature, Traits.Features.CompleteStatement)]\n+        public void ArgumentListOfMethodInvocation2()\n+        {\n+            var code = CreateTestWithMethodCall(@\"var test = ClassC.MethodM(x$$, y)\");\n+\n+            var expected = CreateTestWithMethodCall(@\"var test = ClassC.MethodM(x, y);$$\");\n+\n+            VerifyTypingSemicolon(code, expected);\n+        }\n+\n+        [WpfFact, Trait(Traits.Feature, Traits.Features.CompleteStatement)]\n+        public void ArgumentListOfMethodInvocation3()\n+        {\n+            var code = CreateTestWithMethodCall(@\"var test = ClassC.MethodM(x,$$ y)\");\n+\n+            var expected = CreateTestWithMethodCall(@\"var test = ClassC.MethodM(x, y);$$\");\n+\n+            VerifyTypingSemicolon(code, expected);","path":"src/EditorFeatures/CSharpTest/CompleteStatement/CSharpCompleteStatementCommandHandlerTests.cs","position":69,"original_position":69,"commit_id":"c2003b3847da38a382831908421ac43941fc0826","original_commit_id":"9dcbb95baddc1ea048f3e74bb4e32060c2eaa5a7","user":{"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},"body":"Will file as a follow-up issue.","created_at":"2018-11-08T21:57:49Z","updated_at":"2018-11-08T21:57:49Z","html_url":"https://github.com/dotnet/roslyn/pull/30743#discussion_r232076043","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30743","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/232076043"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30743#discussion_r232076043"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30743"}},"in_reply_to_id":231779361},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/30743","id":225583104,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NTgzMTA0","html_url":"https://github.com/dotnet/roslyn/pull/30743","diff_url":"https://github.com/dotnet/roslyn/pull/30743.diff","patch_url":"https://github.com/dotnet/roslyn/pull/30743.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/30743","number":30743,"state":"open","locked":false,"title":"Implement 'Complete Statement' on semicolon","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":"Closes #18104","created_at":"2018-10-24T23:41:31Z","updated_at":"2018-11-08T21:57:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55bd125e18935742fda71dd743e618d10df61405","assignee":null,"assignees":[],"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/36","html_url":"https://github.com/dotnet/roslyn/milestone/36","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/36/labels","id":3663714,"node_id":"MDk6TWlsZXN0b25lMzY2MzcxNA==","number":36,"title":"16.0.P2","description":"","creator":{"login":"jinujoseph","id":12449387,"node_id":"MDQ6VXNlcjEyNDQ5Mzg3","avatar_url":"https://avatars3.githubusercontent.com/u/12449387?v=4","gravatar_id":"","url":"https://api.github.com/users/jinujoseph","html_url":"https://github.com/jinujoseph","followers_url":"https://api.github.com/users/jinujoseph/followers","following_url":"https://api.github.com/users/jinujoseph/following{/other_user}","gists_url":"https://api.github.com/users/jinujoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/jinujoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinujoseph/subscriptions","organizations_url":"https://api.github.com/users/jinujoseph/orgs","repos_url":"https://api.github.com/users/jinujoseph/repos","events_url":"https://api.github.com/users/jinujoseph/events{/privacy}","received_events_url":"https://api.github.com/users/jinujoseph/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":90,"state":"open","created_at":"2018-09-18T00:39:12Z","updated_at":"2018-11-08T21:31:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30743/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30743/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/30743/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/c2003b3847da38a382831908421ac43941fc0826","head":{"label":"chborl:completestatement","ref":"completestatement","sha":"c2003b3847da38a382831908421ac43941fc0826","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","private":false,"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},"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-10-25T23:20:01Z","pushed_at":"2018-11-08T21:56:11Z","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":438051,"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:dev16.0-preview2","ref":"dev16.0-preview2","sha":"b20f0bf1d90315628cd80185ef2ae97491a1ea12","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","private":false,"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},"html_url":"https://github.com/dotnet/roslyn","description":"The Roslyn .NET compiler provides C# and Visual Basic languages 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-11-08T21:54:38Z","pushed_at":"2018-11-08T21:56:14Z","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":"https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/","size":482013,"stargazers_count":10325,"watchers_count":10325,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2447,"mirror_url":null,"archived":false,"open_issues_count":5393,"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":2447,"open_issues":5393,"watchers":10325,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30743"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30743"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30743"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30743/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30743/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30743/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/c2003b3847da38a382831908421ac43941fc0826"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sharwell"}}