{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/174360710","pull_request_review_id":103700321,"id":174360710,"diff_hunk":"@@ -0,0 +1,160 @@\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.Composition;\n+using System.Linq;\n+using System.Threading;\n+using Microsoft.CodeAnalysis.CodeActions;\n+using Microsoft.CodeAnalysis.CodeRefactorings;\n+using Microsoft.CodeAnalysis.CSharp.Syntax;\n+using Microsoft.CodeAnalysis.Editing;\n+using Microsoft.CodeAnalysis.ForeachToFor;\n+using Microsoft.CodeAnalysis.Simplification;\n+using Microsoft.CodeAnalysis.Text;\n+\n+namespace Microsoft.CodeAnalysis.CSharp.ForeachToFor\n+{\n+    [ExportCodeRefactoringProvider(LanguageNames.CSharp, Name = nameof(CSharpForeachToForCodeRefactoringProvider)), Shared]\n+    internal sealed class CSharpForeachToForCodeRefactoringProvider : AbstractForeachToForCodeRefactoringProvider\n+    {\n+        public CSharpForeachToForCodeRefactoringProvider()\n+        {\n+        }\n+\n+        protected override SyntaxNode GetForeachStatement(SyntaxToken token)\n+        {\n+            var foreachStatement = token.Parent.FirstAncestorOrSelf<ForEachStatementSyntax>();\n+            if (foreachStatement == null)\n+            {\n+                return null;\n+            }\n+\n+            // support refactoring only if caret is in between \"foreach\" and \")\"\n+            var scope = TextSpan.FromBounds(foreachStatement.ForEachKeyword.Span.Start, foreachStatement.CloseParenToken.Span.End);\n+            if (!scope.IntersectsWith(token.Span))\n+            {\n+                return null;\n+            }\n+\n+            // check whether there is any comments between foreach and ) tokens\n+            // if they do, we don't support conversion.\n+            foreach (var trivia in foreachStatement.DescendantTrivia(n => n == foreachStatement || scope.Contains(n.FullSpan)))\n+            {\n+                if (trivia.Span.End <= scope.Start ||\n+                    scope.End <= trivia.Span.Start)\n+                {\n+                    continue;\n+                }\n+\n+                if (trivia.Kind() != SyntaxKind.WhitespaceTrivia &&\n+                    trivia.Kind() != SyntaxKind.EndOfLineTrivia)\n+                {\n+                    // we don't know what to do with these comments\n+                    return null;\n+                }\n+            }\n+\n+            return foreachStatement;\n+        }\n+\n+        protected override (SyntaxNode start, SyntaxNode end) GetForeachBody(SyntaxNode node)\n+        {\n+            var foreachStatement = (ForEachStatementSyntax)node;\n+            return (foreachStatement.Statement, foreachStatement.Statement);\n+        }\n+\n+        protected override void ConvertToForStatement(SemanticModel model, ForeachInfo foreachInfo, SyntaxEditor editor, CancellationToken cancellationToken)\n+        {\n+            cancellationToken.ThrowIfCancellationRequested();\n+\n+            var parseOption = model.SyntaxTree.Options;\n+            var foreachStatement = (ForEachStatementSyntax)foreachInfo.ForeachStatement;\n+\n+            // first, see whether we need to introduce new statement to capture collection\n+            var foreachCollectionExpression = GetForeachCollection(foreachStatement);\n+            var collectionVariableName = foreachCollectionExpression.ToString();\n+            if (foreachInfo.RequireCollectionStatement)\n+            {\n+                collectionVariableName = CreateUniqueMethodName(model, foreachStatement, \"list\");\n+\n+                var collectionStatement = SyntaxFactory.LocalDeclarationStatement(\n+                    SyntaxFactory.VariableDeclaration(\n+                        SyntaxFactory.IdentifierName(\"var\"),\n+                        SyntaxFactory.SingletonSeparatedList(\n+                            SyntaxFactory.VariableDeclarator(\n+                                SyntaxFactory.Identifier(collectionVariableName).WithAdditionalAnnotations(RenameAnnotation.Create()),\n+                                default,\n+                                SyntaxFactory.EqualsValueClause(\n+                                    foreachInfo.RequireExplicitCast ?\n+                                        SyntaxFactory.CastExpression(\n+                                            SyntaxFactory.ParseTypeName(foreachInfo.ExplicitCastInterface).WithAdditionalAnnotations(Simplifier.Annotation),\n+                                            SyntaxFactory.ParenthesizedExpression(foreachCollectionExpression)) : \n+                                        foreachCollectionExpression)))));\n+\n+                collectionStatement =\n+                    collectionStatement.ReplaceToken(collectionStatement.GetFirstToken(), collectionStatement.GetFirstToken().WithLeadingTrivia(foreachStatement.ForEachKeyword.LeadingTrivia));\n+\n+                editor.InsertBefore(foreachStatement, collectionStatement);\n+            }\n+\n+            // create new index varialbe name\n+            var indexString = CreateUniqueMethodName(model, foreachStatement.Statement, \"i\");\n+\n+            // put variable statement in body\n+            var bodyStatement = GetForLoopBody(foreachInfo, parseOption, collectionVariableName, indexString);\n+\n+            // create for statement from foreach statement\n+            var forStatement = SyntaxFactory.ForStatement(\n+                SyntaxFactory.VariableDeclaration(SyntaxFactory.IdentifierName(\"var\"),\n+                    SyntaxFactory.SingletonSeparatedList(\n+                        SyntaxFactory.VariableDeclarator(\n+                        SyntaxFactory.Identifier(indexString).WithAdditionalAnnotations(RenameAnnotation.Create()),\n+                        default,\n+                        SyntaxFactory.EqualsValueClause(\n+                            SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0)))))),\n+                SyntaxFactory.SeparatedList<ExpressionSyntax>(),\n+                SyntaxFactory.BinaryExpression(SyntaxKind.LessThanExpression, SyntaxFactory.IdentifierName(indexString), SyntaxFactory.ParseExpression($\"{collectionVariableName}.{foreachInfo.CountName}\")),\n+                SyntaxFactory.SingletonSeparatedList<ExpressionSyntax>(SyntaxFactory.PostfixUnaryExpression(SyntaxKind.PostIncrementExpression, SyntaxFactory.IdentifierName(indexString))),\n+                bodyStatement);\n+\n+            // let leading and trailing trivia set\n+            if (!foreachInfo.RequireCollectionStatement)\n+            {\n+                forStatement = forStatement.ReplaceToken(forStatement.ForKeyword, forStatement.ForKeyword.WithLeadingTrivia(foreachStatement.ForEachKeyword.LeadingTrivia));\n+            }\n+\n+            forStatement = forStatement.ReplaceToken(forStatement.CloseParenToken, forStatement.CloseParenToken.WithTrailingTrivia(foreachStatement.CloseParenToken.TrailingTrivia));\n+\n+            editor.ReplaceNode(foreachStatement, forStatement);\n+        }\n+\n+        private ExpressionSyntax GetForeachCollection(SyntaxNode node)","path":"src/Features/CSharp/Portable/ForeachToFor/CSharpForeachToForCodeRefactoringProvider.cs","position":130,"original_position":130,"commit_id":"06890994c2ce90f2fdb1fb695f8aa591ea38ddce","original_commit_id":"06890994c2ce90f2fdb1fb695f8aa591ea38ddce","user":{"login":"CyrusNajmabadi","id":4564579,"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":"This seems odd that node is typed as SyntaxNode and not ForEachStatementSyntax.  And once you have that, this whole method seems odd to have.","created_at":"2018-03-14T06:10:19Z","updated_at":"2018-03-14T06:10:19Z","html_url":"https://github.com/dotnet/roslyn/pull/25460#discussion_r174360710","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25460","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/174360710"},"html":{"href":"https://github.com/dotnet/roslyn/pull/25460#discussion_r174360710"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25460"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/25460","id":174831126,"html_url":"https://github.com/dotnet/roslyn/pull/25460","diff_url":"https://github.com/dotnet/roslyn/pull/25460.diff","patch_url":"https://github.com/dotnet/roslyn/pull/25460.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/25460","number":25460,"state":"open","locked":false,"title":"Foreach to For refactoring","user":{"login":"heejaechang","id":1333179,"avatar_url":"https://avatars3.githubusercontent.com/u/1333179?v=4","gravatar_id":"","url":"https://api.github.com/users/heejaechang","html_url":"https://github.com/heejaechang","followers_url":"https://api.github.com/users/heejaechang/followers","following_url":"https://api.github.com/users/heejaechang/following{/other_user}","gists_url":"https://api.github.com/users/heejaechang/gists{/gist_id}","starred_url":"https://api.github.com/users/heejaechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heejaechang/subscriptions","organizations_url":"https://api.github.com/users/heejaechang/orgs","repos_url":"https://api.github.com/users/heejaechang/repos","events_url":"https://api.github.com/users/heejaechang/events{/privacy}","received_events_url":"https://api.github.com/users/heejaechang/received_events","type":"User","site_admin":false},"body":"currently only C# implementation. working on VB.\r\n\r\n### Customer scenario\r\n\r\nUser has foreach loop and want to convert it to for loop. user puts caret on foreach loop and refactoring Lightbulb shows up and user invokes the refactoring.\r\n\r\n### Bugs this fixes\r\n\r\nrelated to https://github.com/dotnet/roslyn/issues/8953\r\n\r\n### Workarounds, if any\r\n\r\nNo\r\n\r\n### Risk\r\n\r\nNo risk except it being new feature\r\n\r\n### Performance impact\r\n\r\nOne more refactoring that can run on caret move. but I believe it is quite cheap\r\n\r\n### Is this a regression from a previous update?\r\n\r\nNo\r\n\r\n### Root cause analysis\r\n\r\nit is new feature\r\n\r\n### How was the bug found?\r\n\r\nN/A\r\n\r\n","created_at":"2018-03-14T01:16:58Z","updated_at":"2018-03-14T06:10:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e198c06a235fd258b6ff927b2a5ab27e60811dc8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"roslyn-ide","id":1781706,"slug":"roslyn-ide","description":"Roslyn IDE Team","privacy":"closed","url":"https://api.github.com/teams/1781706","members_url":"https://api.github.com/teams/1781706/members{/member}","repositories_url":"https://api.github.com/teams/1781706/repos","permission":"pull"}],"labels":[{"id":166377917,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25460/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25460/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/25460/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/06890994c2ce90f2fdb1fb695f8aa591ea38ddce","head":{"label":"heejaechang:foreachrefactoring","ref":"foreachrefactoring","sha":"06890994c2ce90f2fdb1fb695f8aa591ea38ddce","user":{"login":"heejaechang","id":1333179,"avatar_url":"https://avatars3.githubusercontent.com/u/1333179?v=4","gravatar_id":"","url":"https://api.github.com/users/heejaechang","html_url":"https://github.com/heejaechang","followers_url":"https://api.github.com/users/heejaechang/followers","following_url":"https://api.github.com/users/heejaechang/following{/other_user}","gists_url":"https://api.github.com/users/heejaechang/gists{/gist_id}","starred_url":"https://api.github.com/users/heejaechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heejaechang/subscriptions","organizations_url":"https://api.github.com/users/heejaechang/orgs","repos_url":"https://api.github.com/users/heejaechang/repos","events_url":"https://api.github.com/users/heejaechang/events{/privacy}","received_events_url":"https://api.github.com/users/heejaechang/received_events","type":"User","site_admin":false},"repo":{"id":30170221,"name":"roslyn","full_name":"heejaechang/roslyn","owner":{"login":"heejaechang","id":1333179,"avatar_url":"https://avatars3.githubusercontent.com/u/1333179?v=4","gravatar_id":"","url":"https://api.github.com/users/heejaechang","html_url":"https://github.com/heejaechang","followers_url":"https://api.github.com/users/heejaechang/followers","following_url":"https://api.github.com/users/heejaechang/following{/other_user}","gists_url":"https://api.github.com/users/heejaechang/gists{/gist_id}","starred_url":"https://api.github.com/users/heejaechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heejaechang/subscriptions","organizations_url":"https://api.github.com/users/heejaechang/orgs","repos_url":"https://api.github.com/users/heejaechang/repos","events_url":"https://api.github.com/users/heejaechang/events{/privacy}","received_events_url":"https://api.github.com/users/heejaechang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heejaechang/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/heejaechang/roslyn","forks_url":"https://api.github.com/repos/heejaechang/roslyn/forks","keys_url":"https://api.github.com/repos/heejaechang/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heejaechang/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heejaechang/roslyn/teams","hooks_url":"https://api.github.com/repos/heejaechang/roslyn/hooks","issue_events_url":"https://api.github.com/repos/heejaechang/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/heejaechang/roslyn/events","assignees_url":"https://api.github.com/repos/heejaechang/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/heejaechang/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/heejaechang/roslyn/tags","blobs_url":"https://api.github.com/repos/heejaechang/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heejaechang/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heejaechang/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/heejaechang/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heejaechang/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/heejaechang/roslyn/languages","stargazers_url":"https://api.github.com/repos/heejaechang/roslyn/stargazers","contributors_url":"https://api.github.com/repos/heejaechang/roslyn/contributors","subscribers_url":"https://api.github.com/repos/heejaechang/roslyn/subscribers","subscription_url":"https://api.github.com/repos/heejaechang/roslyn/subscription","commits_url":"https://api.github.com/repos/heejaechang/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/heejaechang/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/heejaechang/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/heejaechang/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/heejaechang/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/heejaechang/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heejaechang/roslyn/merges","archive_url":"https://api.github.com/repos/heejaechang/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heejaechang/roslyn/downloads","issues_url":"https://api.github.com/repos/heejaechang/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/heejaechang/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/heejaechang/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/heejaechang/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heejaechang/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/heejaechang/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/heejaechang/roslyn/deployments","created_at":"2015-02-02T03:54:43Z","updated_at":"2016-03-09T20:46:51Z","pushed_at":"2018-03-13T23:15:39Z","git_url":"git://github.com/heejaechang/roslyn.git","ssh_url":"git@github.com:heejaechang/roslyn.git","clone_url":"https://github.com/heejaechang/roslyn.git","svn_url":"https://github.com/heejaechang/roslyn","homepage":"","size":281300,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:dev15.7.x","ref":"dev15.7.x","sha":"90b0d0c5b8e14adb737e59653e24f5a0af2a5c72","user":{"login":"dotnet","id":9141961,"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,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"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-03-14T05:47:51Z","pushed_at":"2018-03-14T05:11:54Z","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":306549,"stargazers_count":8980,"watchers_count":8980,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2159,"mirror_url":null,"archived":false,"open_issues_count":4572,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2159,"open_issues":4572,"watchers":8980,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25460"},"html":{"href":"https://github.com/dotnet/roslyn/pull/25460"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/25460"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/25460/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25460/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25460/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/06890994c2ce90f2fdb1fb695f8aa591ea38ddce"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"CyrusNajmabadi"}}