{"action":"created","comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments/37698688","id":37698688,"diff_hunk":"@@ -0,0 +1,201 @@\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Threading;\n+using System.Threading.Tasks;\n+using Microsoft.CodeAnalysis;\n+using Microsoft.CodeAnalysis.CSharp;\n+using Microsoft.CodeAnalysis.CSharp.Syntax;\n+using Microsoft.CodeAnalysis.FindSymbols;\n+using OmniSharp.Models;\n+\n+namespace OmniSharp\n+{\n+    //TODO:\n+    //1. Remove unused using statements\n+    //2. Sort using statements\n+    //3. Remove redundant using statements\n+    //4. Replace code which checks accessibility by Roslyn method if it is made available\n+    public class FixUsingsWorker\n+    {\n+        public static async Task<FixUsingsResponse> AddMissingUsings(string fileName, Document document, SemanticModel semanticModel)\n+        {\n+            var compilationUnitSyntax = await AddUnambiguousUsings(fileName, document, semanticModel);\n+            document = document.WithSyntaxRoot(compilationUnitSyntax);\n+            semanticModel = await document.GetSemanticModelAsync();\n+            return await GetAmbiguousUsings(fileName, document, semanticModel, compilationUnitSyntax);\n+        }\n+\n+        private static async Task<CompilationUnitSyntax> AddUnambiguousUsings(string fileName, Document document, SemanticModel semanticModel)\n+        {\n+            var root = (await document.GetSyntaxTreeAsync()).GetRoot();\n+            var unresolvedTypes = GetUnresolvedTypes(semanticModel, root);\n+            var hasLinq = HasLinqQuerySyntax(semanticModel, root);\n+            var compilationUnitSyntax = (CompilationUnitSyntax)root;\n+            var usingsToAdd = new HashSet<string>();\n+            var unresolvedSet = new HashSet<string>();\n+            var candidateUsings = new List<ISymbol>();\n+\n+            if (compilationUnitSyntax != null)\n+            {\n+                usingsToAdd.UnionWith(GetUsings(root));\n+\n+                foreach (var unresolvedType in unresolvedTypes)\n+                {\n+                    candidateUsings = GetCandidateUsings(document, unresolvedType);\n+                    //If there is only one candidate - add it to the usings list\n+                    if (candidateUsings.Count() == 1)\n+                    {\n+                        var candidateNameSpace = candidateUsings[0].ContainingNamespace.ToString();\n+                        var candidateName = SyntaxFactory.ParseName(candidateNameSpace);\n+                        var usingToAdd = SyntaxFactory.UsingDirective(candidateName).NormalizeWhitespace()\n+                            .WithTrailingTrivia(SyntaxFactory.Whitespace(Environment.NewLine));\n+                        var usingToAddText = usingToAdd.GetText().ToString();\n+\n+                        if (!usingsToAdd.Contains(usingToAddText.Trim()))\n+                        {\n+                            compilationUnitSyntax = compilationUnitSyntax.AddUsings(usingToAdd);\n+                            usingsToAdd.Add(usingToAddText.Trim());\n+                        }\n+                    }\n+                }\n+\n+                //Handle linq with query syntax\n+                var linqName = SyntaxFactory.QualifiedName(SyntaxFactory.IdentifierName(\"System\"), SyntaxFactory.IdentifierName(\"Linq\"));\n+                var linqUsingText = \"using \" + linqName.ToString() + \";\";\n+                if (hasLinq && !usingsToAdd.Contains(linqUsingText))\n+                {\n+                    var linq = SyntaxFactory.UsingDirective(linqName).NormalizeWhitespace()\n+                            .WithTrailingTrivia(SyntaxFactory.Whitespace(Environment.NewLine));\n+                    compilationUnitSyntax = compilationUnitSyntax.AddUsings(linq);\n+                    usingsToAdd.Add(linqName.GetText().ToString().Trim());\n+                }\n+            }\n+\n+            return compilationUnitSyntax;\n+        }\n+\n+\n+        private static async Task<FixUsingsResponse> GetAmbiguousUsings(string fileName, Document document, SemanticModel semanticModel, CompilationUnitSyntax compilationUnitSyntax)\n+        {\n+            var root = (await document.GetSyntaxTreeAsync()).GetRoot();\n+            var unresolvedTypes = GetUnresolvedTypes(semanticModel, root);\n+            var usingsToAdd = new HashSet<string>();\n+            var unresolvedSet = new HashSet<string>();\n+            var candidateUsings = new List<ISymbol>();\n+            var ambiguous = new List<QuickFix>();\n+\n+            if (compilationUnitSyntax != null)\n+            {\n+                usingsToAdd.UnionWith(GetUsings(root));\n+\n+                foreach (var unresolvedType in unresolvedTypes)\n+                {\n+                    candidateUsings = GetCandidateUsings(document, unresolvedType);\n+\n+                    //Set the symbol as an ambiguous match\n+                    foreach (var candidateUsing in candidateUsings)\n+                    {\n+                        var unresolvedText = unresolvedType.Identifier.ValueText;\n+\n+                        if (!unresolvedSet.Contains(unresolvedText))\n+                        {\n+                            var unresolvedLocation = unresolvedType.GetLocation().GetLineSpan().StartLinePosition;\n+                            ambiguous.Add(new QuickFix\n+                            {\n+                                Line = unresolvedLocation.Line + 1,\n+                                Column = unresolvedLocation.Character + 1,\n+                                FileName = fileName,\n+                                Text = \"`\" + unresolvedText + \"`\" + \" is ambiguous\"\n+                            });\n+                            unresolvedSet.Add(unresolvedText);\n+                        }\n+                    }\n+                }\n+            }\n+\n+            return new FixUsingsResponse(compilationUnitSyntax.GetText().ToString(), ambiguous);\n+        }\n+\n+        private static IEnumerable<SimpleNameSyntax> GetUnresolvedTypes(SemanticModel semanticModel, SyntaxNode syntaxNode)\n+        {\n+            return syntaxNode.DescendantNodes()\n+                .OfType<SimpleNameSyntax>()\n+                .Where(x => semanticModel.GetSymbolInfo(x).Symbol == null &&\n+                        semanticModel.GetSymbolInfo(x).CandidateReason != CandidateReason.OverloadResolutionFailure);\n+\n+        }\n+\n+        private static bool HasLinqQuerySyntax(SemanticModel semanticModel, SyntaxNode syntaxNode)\n+        {\n+            return syntaxNode.DescendantNodes()\n+                .Where(x => x.Kind() == SyntaxKind.QueryExpression || x.Kind() == SyntaxKind.QueryBody || x.Kind() == SyntaxKind.FromClause || x.Kind() == SyntaxKind.LetClause || x.Kind() == SyntaxKind.JoinClause || x.Kind() == SyntaxKind.JoinClause || x.Kind() == SyntaxKind.JoinIntoClause || x.Kind() == SyntaxKind.WhereClause || x.Kind() == SyntaxKind.OrderByClause || x.Kind() == SyntaxKind.AscendingOrdering || x.Kind() == SyntaxKind.DescendingOrdering || x.Kind() == SyntaxKind.SelectClause || x.Kind() == SyntaxKind.GroupClause || x.Kind() == SyntaxKind.QueryContinuation).Any();\n+        }\n+\n+        private static HashSet<string> GetUsings(SyntaxNode root)\n+        {\n+            var usings = new HashSet<string>();\n+            root.DescendantNodes().OfType<UsingDirectiveSyntax>()\n+                .ToList().ForEach(x =>\n+                        {\n+                            if (!usings.Contains(x.ToString().Trim()))","path":"src/OmniSharp/Workers/Refactoring/FixUsings.cs","position":null,"original_position":141,"commit_id":"aa1508b7fb475bf304ecf954375b2d0f5e5c1867","original_commit_id":"fc3c8066efd0da9fe4b43616080da05f5598eb5d","user":{"login":"sriramgd","id":1423914,"avatar_url":"https://avatars.githubusercontent.com/u/1423914?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramgd","html_url":"https://github.com/sriramgd","followers_url":"https://api.github.com/users/sriramgd/followers","following_url":"https://api.github.com/users/sriramgd/following{/other_user}","gists_url":"https://api.github.com/users/sriramgd/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramgd/subscriptions","organizations_url":"https://api.github.com/users/sriramgd/orgs","repos_url":"https://api.github.com/users/sriramgd/repos","events_url":"https://api.github.com/users/sriramgd/events{/privacy}","received_events_url":"https://api.github.com/users/sriramgd/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2015-08-22T19:13:05Z","updated_at":"2015-08-22T19:13:05Z","html_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280#discussion_r37698688","pull_request_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280","_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments/37698688"},"html":{"href":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280#discussion_r37698688"},"pull_request":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280"}}},"pull_request":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280","id":41371907,"html_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280","diff_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280.diff","patch_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280.patch","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/280","number":280,"state":"open","locked":false,"title":"Fix usings","user":{"login":"sriramgd","id":1423914,"avatar_url":"https://avatars.githubusercontent.com/u/1423914?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramgd","html_url":"https://github.com/sriramgd","followers_url":"https://api.github.com/users/sriramgd/followers","following_url":"https://api.github.com/users/sriramgd/following{/other_user}","gists_url":"https://api.github.com/users/sriramgd/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramgd/subscriptions","organizations_url":"https://api.github.com/users/sriramgd/orgs","repos_url":"https://api.github.com/users/sriramgd/repos","events_url":"https://api.github.com/users/sriramgd/events{/privacy}","received_events_url":"https://api.github.com/users/sriramgd/received_events","type":"User","site_admin":false},"body":"Second try on https://github.com/OmniSharp/omnisharp-roslyn/pull/150\r\n\r\nThe code can be optimized for speed (performance), for now to test may need to increase timeout from client editor.\r\n\r\n1. Add missing usings\r\n2. Send a dictionary of key-list for ambiguous usings\r\n3. Remove redundant usings\r\nTODO: \r\n1. Remove unused using statements\r\n2. Sort using statements\r\n3. If possible, replace RemoveRedundantUsings by something better from the framework","created_at":"2015-07-31T19:18:50Z","updated_at":"2015-08-22T19:13:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17da3d3921aa1b65dd9631d8dc9bcc2caafaaddc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280/commits","review_comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280/comments","review_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/280/comments","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/aa1508b7fb475bf304ecf954375b2d0f5e5c1867","head":{"label":"sriramgd:fixusing","ref":"fixusing","sha":"aa1508b7fb475bf304ecf954375b2d0f5e5c1867","user":{"login":"sriramgd","id":1423914,"avatar_url":"https://avatars.githubusercontent.com/u/1423914?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramgd","html_url":"https://github.com/sriramgd","followers_url":"https://api.github.com/users/sriramgd/followers","following_url":"https://api.github.com/users/sriramgd/following{/other_user}","gists_url":"https://api.github.com/users/sriramgd/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramgd/subscriptions","organizations_url":"https://api.github.com/users/sriramgd/orgs","repos_url":"https://api.github.com/users/sriramgd/repos","events_url":"https://api.github.com/users/sriramgd/events{/privacy}","received_events_url":"https://api.github.com/users/sriramgd/received_events","type":"User","site_admin":false},"repo":{"id":33375754,"name":"omnisharp-roslyn","full_name":"sriramgd/omnisharp-roslyn","owner":{"login":"sriramgd","id":1423914,"avatar_url":"https://avatars.githubusercontent.com/u/1423914?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramgd","html_url":"https://github.com/sriramgd","followers_url":"https://api.github.com/users/sriramgd/followers","following_url":"https://api.github.com/users/sriramgd/following{/other_user}","gists_url":"https://api.github.com/users/sriramgd/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramgd/subscriptions","organizations_url":"https://api.github.com/users/sriramgd/orgs","repos_url":"https://api.github.com/users/sriramgd/repos","events_url":"https://api.github.com/users/sriramgd/events{/privacy}","received_events_url":"https://api.github.com/users/sriramgd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sriramgd/omnisharp-roslyn","description":"OmniSharp based on roslyn workspaces","fork":true,"url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn","forks_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/forks","keys_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/teams","hooks_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/hooks","issue_events_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/events","assignees_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/tags","blobs_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/languages","stargazers_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/stargazers","contributors_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/contributors","subscribers_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/subscribers","subscription_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/subscription","commits_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/merges","archive_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/downloads","issues_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/labels{/name}","releases_url":"https://api.github.com/repos/sriramgd/omnisharp-roslyn/releases{/id}","created_at":"2015-04-03T18:02:53Z","updated_at":"2015-04-16T20:47:45Z","pushed_at":"2015-08-22T19:07:21Z","git_url":"git://github.com/sriramgd/omnisharp-roslyn.git","ssh_url":"git@github.com:sriramgd/omnisharp-roslyn.git","clone_url":"https://github.com/sriramgd/omnisharp-roslyn.git","svn_url":"https://github.com/sriramgd/omnisharp-roslyn","homepage":"","size":1243,"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":"master"}},"base":{"label":"OmniSharp:master","ref":"master","sha":"122a7d9033d3e4991b2c07d20b3ff8ad773cac32","user":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"repo":{"id":27927984,"name":"omnisharp-roslyn","full_name":"OmniSharp/omnisharp-roslyn","owner":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OmniSharp/omnisharp-roslyn","description":"OmniSharp based on roslyn workspaces","fork":false,"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn","forks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/forks","keys_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/teams","hooks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/hooks","issue_events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/events","assignees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/tags","blobs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/languages","stargazers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/stargazers","contributors_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contributors","subscribers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscribers","subscription_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscription","commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/merges","archive_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/downloads","issues_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/labels{/name}","releases_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases{/id}","created_at":"2014-12-12T16:21:03Z","updated_at":"2015-08-22T10:58:53Z","pushed_at":"2015-08-22T19:07:22Z","git_url":"git://github.com/OmniSharp/omnisharp-roslyn.git","ssh_url":"git@github.com:OmniSharp/omnisharp-roslyn.git","clone_url":"https://github.com/OmniSharp/omnisharp-roslyn.git","svn_url":"https://github.com/OmniSharp/omnisharp-roslyn","homepage":"","size":6648,"stargazers_count":125,"watchers_count":125,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":67,"forks":55,"open_issues":67,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280"},"html":{"href":"https://github.com/OmniSharp/omnisharp-roslyn/pull/280"},"issue":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/280"},"comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/aa1508b7fb475bf304ecf954375b2d0f5e5c1867"}}}}