{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/229909018","pull_request_review_id":170521381,"id":229909018,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTkwOTAxOA==","diff_hunk":"@@ -0,0 +1,284 @@\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;\n+using System.Collections.Immutable;\n+using System.Linq;\n+using System.Threading;\n+using System.Threading.Tasks;\n+using Microsoft.CodeAnalysis.CodeRefactorings;\n+using Microsoft.CodeAnalysis.Formatting;\n+using Microsoft.CodeAnalysis.LanguageServices;\n+using Microsoft.CodeAnalysis.Operations;\n+using Microsoft.CodeAnalysis.Shared.Extensions;\n+using Microsoft.CodeAnalysis.Text;\n+using Microsoft.CodeAnalysis.Utilities;\n+using static Microsoft.CodeAnalysis.CodeActions.CodeAction;\n+\n+namespace Microsoft.CodeAnalysis.IntroduceUsingStatement\n+{\n+    internal abstract class AbstractIntroduceUsingStatementCodeRefactoringProvider<TStatementSyntax, TLocalDeclarationSyntax> : CodeRefactoringProvider\n+        where TStatementSyntax : SyntaxNode\n+        where TLocalDeclarationSyntax : TStatementSyntax\n+    {\n+        protected abstract string CodeActionTitle { get; }\n+\n+        protected abstract bool CanRefactorToContainBlockStatements(SyntaxNode parent);\n+        protected abstract SyntaxList<TStatementSyntax> GetStatements(SyntaxNode parent);\n+        protected abstract SyntaxNode WithStatements(SyntaxNode parent, SyntaxList<TStatementSyntax> statements);\n+\n+        protected abstract TStatementSyntax CreateUsingStatement(TLocalDeclarationSyntax declarationStatement, SyntaxTriviaList sameLineTrivia, SyntaxList<TStatementSyntax> statementsToSurround);\n+\n+        public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)\n+        {\n+            var document = context.Document;\n+            var span = context.Span;\n+\n+            var (declarationSyntax, _) =\n+                await FindDisposableLocalDeclaration(document, span, context.CancellationToken).ConfigureAwait(false);\n+\n+            if (declarationSyntax != null)\n+            {\n+                context.RegisterRefactoring(new MyCodeAction(\n+                    CodeActionTitle,\n+                    cancellationToken => IntroduceUsingStatementAsync(document, span, cancellationToken)));\n+            }\n+        }\n+\n+        private async Task<(TLocalDeclarationSyntax, ILocalSymbol)> FindDisposableLocalDeclaration(Document document, TextSpan selection, CancellationToken cancellationToken)\n+        {\n+            var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);\n+\n+            var declarationSyntax =\n+                root.FindNode(selection)?.GetAncestorOrThis<TLocalDeclarationSyntax>()\n+                ?? root.FindTokenOnLeftOfPosition(selection.End).GetAncestor<TLocalDeclarationSyntax>();\n+\n+            if (declarationSyntax is null || !CanRefactorToContainBlockStatements(declarationSyntax.Parent))\n+            {\n+                return default;\n+            }\n+\n+            var semanticModel = await document.GetSemanticModelAsync(cancellationToken).ConfigureAwait(false);\n+\n+            var disposableType = semanticModel.Compilation.GetSpecialType(SpecialType.System_IDisposable);\n+            if (disposableType is null)\n+            {\n+                return default;\n+            }\n+\n+            var operation = semanticModel.GetOperation(declarationSyntax, cancellationToken) as IVariableDeclarationGroupOperation;\n+            if (operation?.Declarations.Length != 1)\n+            {\n+                return default;\n+            }\n+\n+            var localDeclaration = operation.Declarations[0];\n+            if (localDeclaration.Declarators.Length != 1)\n+            {\n+                return default;\n+            }\n+\n+            var declarator = localDeclaration.Declarators[0];\n+\n+            var localType = declarator.Symbol?.Type;\n+            if (localType is null)\n+            {\n+                return default;\n+            }\n+\n+            var initializer = (localDeclaration.Initializer ?? declarator.Initializer).Value;\n+            if (initializer is null || initializer.Kind == OperationKind.Invalid)","path":"src/Features/Core/Portable/IntroduceUsingStatement/AbstractIntroduceUsingStatementCodeRefactoringProvider.cs","position":89,"original_position":89,"commit_id":"ad919e8a4aea7a3cbe5c27ee6b2d193956737b85","original_commit_id":"197348a7198229052da808addda5cc7f7258b7ee","user":{"login":"jnm2","id":8040367,"node_id":"MDQ6VXNlcjgwNDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"body":"From the syntax:\r\n\r\n```c#\r\nSystem.IDisposable name =\r\n```","created_at":"2018-11-01T00:28:37Z","updated_at":"2018-11-01T00:28:37Z","html_url":"https://github.com/dotnet/roslyn/pull/30106#discussion_r229909018","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30106","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/229909018"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30106#discussion_r229909018"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30106"}},"in_reply_to_id":226162079},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/30106","id":217483890,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDgzODkw","html_url":"https://github.com/dotnet/roslyn/pull/30106","diff_url":"https://github.com/dotnet/roslyn/pull/30106.diff","patch_url":"https://github.com/dotnet/roslyn/pull/30106.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/30106","number":30106,"state":"open","locked":false,"title":"Introduce using statement","user":{"login":"jnm2","id":8040367,"node_id":"MDQ6VXNlcjgwNDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"body":"/cc @CyrusNajmabadi ","created_at":"2018-09-22T23:34:21Z","updated_at":"2018-11-01T00:28:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b4ea908370dca1cea5dc9b47f9c8b6f72d03c3d","assignee":{"login":"JoeRobich","id":611219,"node_id":"MDQ6VXNlcjYxMTIxOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/611219?v=4","gravatar_id":"","url":"https://api.github.com/users/JoeRobich","html_url":"https://github.com/JoeRobich","followers_url":"https://api.github.com/users/JoeRobich/followers","following_url":"https://api.github.com/users/JoeRobich/following{/other_user}","gists_url":"https://api.github.com/users/JoeRobich/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeRobich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeRobich/subscriptions","organizations_url":"https://api.github.com/users/JoeRobich/orgs","repos_url":"https://api.github.com/users/JoeRobich/repos","events_url":"https://api.github.com/users/JoeRobich/events{/privacy}","received_events_url":"https://api.github.com/users/JoeRobich/received_events","type":"User","site_admin":false},"assignees":[{"login":"JoeRobich","id":611219,"node_id":"MDQ6VXNlcjYxMTIxOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/611219?v=4","gravatar_id":"","url":"https://api.github.com/users/JoeRobich","html_url":"https://github.com/JoeRobich","followers_url":"https://api.github.com/users/JoeRobich/followers","following_url":"https://api.github.com/users/JoeRobich/following{/other_user}","gists_url":"https://api.github.com/users/JoeRobich/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeRobich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeRobich/subscriptions","organizations_url":"https://api.github.com/users/JoeRobich/orgs","repos_url":"https://api.github.com/users/JoeRobich/repos","events_url":"https://api.github.com/users/JoeRobich/events{/privacy}","received_events_url":"https://api.github.com/users/JoeRobich/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[{"name":"roslyn-compiler","id":1803172,"node_id":"MDQ6VGVhbTE4MDMxNzI=","slug":"roslyn-compiler","description":"Roslyn Compiler Team","privacy":"closed","url":"https://api.github.com/teams/1803172","members_url":"https://api.github.com/teams/1803172/members{/member}","repositories_url":"https://api.github.com/teams/1803172/repos","permission":"pull"}],"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false},{"id":288147422,"node_id":"MDU6TGFiZWwyODgxNDc0MjI=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Community","name":"Community","color":"0e8a16","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":1376,"closed_issues":816,"state":"open","created_at":"2016-03-31T00:06:25Z","updated_at":"2018-10-31T19:24:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30106/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30106/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/30106/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/ad919e8a4aea7a3cbe5c27ee6b2d193956737b85","head":{"label":"jnm2:introduce_using_statement","ref":"introduce_using_statement","sha":"ad919e8a4aea7a3cbe5c27ee6b2d193956737b85","user":{"login":"jnm2","id":8040367,"node_id":"MDQ6VXNlcjgwNDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"repo":{"id":92682284,"node_id":"MDEwOlJlcG9zaXRvcnk5MjY4MjI4NA==","name":"roslyn","full_name":"jnm2/roslyn","private":false,"owner":{"login":"jnm2","id":8040367,"node_id":"MDQ6VXNlcjgwNDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jnm2/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/jnm2/roslyn","forks_url":"https://api.github.com/repos/jnm2/roslyn/forks","keys_url":"https://api.github.com/repos/jnm2/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnm2/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnm2/roslyn/teams","hooks_url":"https://api.github.com/repos/jnm2/roslyn/hooks","issue_events_url":"https://api.github.com/repos/jnm2/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/jnm2/roslyn/events","assignees_url":"https://api.github.com/repos/jnm2/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/jnm2/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/jnm2/roslyn/tags","blobs_url":"https://api.github.com/repos/jnm2/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnm2/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnm2/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnm2/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnm2/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/jnm2/roslyn/languages","stargazers_url":"https://api.github.com/repos/jnm2/roslyn/stargazers","contributors_url":"https://api.github.com/repos/jnm2/roslyn/contributors","subscribers_url":"https://api.github.com/repos/jnm2/roslyn/subscribers","subscription_url":"https://api.github.com/repos/jnm2/roslyn/subscription","commits_url":"https://api.github.com/repos/jnm2/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnm2/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnm2/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnm2/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnm2/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/jnm2/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnm2/roslyn/merges","archive_url":"https://api.github.com/repos/jnm2/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnm2/roslyn/downloads","issues_url":"https://api.github.com/repos/jnm2/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/jnm2/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/jnm2/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/jnm2/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnm2/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/jnm2/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/jnm2/roslyn/deployments","created_at":"2017-05-28T19:26:35Z","updated_at":"2018-08-14T21:00:34Z","pushed_at":"2018-10-31T23:58:41Z","git_url":"git://github.com/jnm2/roslyn.git","ssh_url":"git@github.com:jnm2/roslyn.git","clone_url":"https://github.com/jnm2/roslyn.git","svn_url":"https://github.com/jnm2/roslyn","homepage":"","size":414281,"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":"redundant_generated_ctor_call"}},"base":{"label":"dotnet:master","ref":"master","sha":"28272087bb8228d581fb1ace28127bc50832b734","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-10-31T20:11:27Z","pushed_at":"2018-11-01T00:00:43Z","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":476326,"stargazers_count":10294,"watchers_count":10294,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2448,"mirror_url":null,"archived":false,"open_issues_count":5336,"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":2448,"open_issues":5336,"watchers":10294,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30106"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30106"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30106"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30106/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30106/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30106/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/ad919e8a4aea7a3cbe5c27ee6b2d193956737b85"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jnm2"}}