{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/comments/49254595","id":49254595,"diff_hunk":"@@ -1,69 +1,263 @@\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.Generic;\n using System.Collections.Immutable;\n+using System.Linq;\n using Analyzer.Utilities;\n-using Microsoft.CodeAnalysis.Diagnostics;\n using Microsoft.CodeAnalysis;\n+using Microsoft.CodeAnalysis.Diagnostics;\n \n namespace Microsoft.ApiDesignGuidelines.Analyzers\n-{                   \n+{\n     /// <summary>\n     /// CA2225: Operator overloads have named alternates\n     /// </summary>\n-    public abstract class OperatorOverloadsHaveNamedAlternatesAnalyzer : DiagnosticAnalyzer\n+    [DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.VisualBasic)]\n+    public sealed class OperatorOverloadsHaveNamedAlternatesAnalyzer : DiagnosticAnalyzer\n     {\n         internal const string RuleId = \"CA2225\";\n+        internal const string DiagnosticKindText = \"DiagnosticKind\";\n+        internal const string AddAlternateText = \"AddAlternate\";\n+        internal const string FixVisibilityText = \"FixVisibility\";\n+        internal const string IsTrueText = \"IsTrue\";\n+        private const string OpFalseText = \"op_False\";\n+        private const string MsdnUrl = \"https://msdn.microsoft.com/en-us/library/ms182355.aspx\";\n \n         private static readonly LocalizableString s_localizableTitle = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesTitle), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n-        \n+\n         private static readonly LocalizableString s_localizableMessageDefault = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesMessageDefault), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n         private static readonly LocalizableString s_localizableMessageProperty = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesMessageProperty), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n         private static readonly LocalizableString s_localizableMessageMultiple = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesMessageMultiple), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n         private static readonly LocalizableString s_localizableMessageVisibility = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesMessageVisibility), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n         private static readonly LocalizableString s_localizableDescription = new LocalizableResourceString(nameof(MicrosoftApiDesignGuidelinesAnalyzersResources.OperatorOverloadsHaveNamedAlternatesDescription), MicrosoftApiDesignGuidelinesAnalyzersResources.ResourceManager, typeof(MicrosoftApiDesignGuidelinesAnalyzersResources));\n-        \n+\n         internal static DiagnosticDescriptor DefaultRule = new DiagnosticDescriptor(RuleId,\n                                                                              s_localizableTitle,\n                                                                              s_localizableMessageDefault,\n                                                                              DiagnosticCategory.Usage,\n                                                                              DiagnosticSeverity.Warning,\n-                                                                             isEnabledByDefault: false,\n+                                                                             isEnabledByDefault: true,\n                                                                              description: s_localizableDescription,\n-                                                                             helpLinkUri: null,     // TODO: add MSDN url\n+                                                                             helpLinkUri: MsdnUrl,\n                                                                              customTags: WellKnownDiagnosticTags.Telemetry);\n         internal static DiagnosticDescriptor PropertyRule = new DiagnosticDescriptor(RuleId,\n                                                                              s_localizableTitle,\n                                                                              s_localizableMessageProperty,\n                                                                              DiagnosticCategory.Usage,\n                                                                              DiagnosticSeverity.Warning,\n-                                                                             isEnabledByDefault: false,\n+                                                                             isEnabledByDefault: true,\n                                                                              description: s_localizableDescription,\n-                                                                             helpLinkUri: null,     // TODO: add MSDN url\n+                                                                             helpLinkUri: MsdnUrl,\n                                                                              customTags: WellKnownDiagnosticTags.Telemetry);\n         internal static DiagnosticDescriptor MultipleRule = new DiagnosticDescriptor(RuleId,\n                                                                              s_localizableTitle,\n                                                                              s_localizableMessageMultiple,\n                                                                              DiagnosticCategory.Usage,\n                                                                              DiagnosticSeverity.Warning,\n-                                                                             isEnabledByDefault: false,\n+                                                                             isEnabledByDefault: true,\n                                                                              description: s_localizableDescription,\n-                                                                             helpLinkUri: null,     // TODO: add MSDN url\n+                                                                             helpLinkUri: MsdnUrl,\n                                                                              customTags: WellKnownDiagnosticTags.Telemetry);\n         internal static DiagnosticDescriptor VisibilityRule = new DiagnosticDescriptor(RuleId,\n                                                                              s_localizableTitle,\n                                                                              s_localizableMessageVisibility,\n                                                                              DiagnosticCategory.Usage,\n                                                                              DiagnosticSeverity.Warning,\n-                                                                             isEnabledByDefault: false,\n+                                                                             isEnabledByDefault: true,\n                                                                              description: s_localizableDescription,\n-                                                                             helpLinkUri: null,     // TODO: add MSDN url\n+                                                                             helpLinkUri: MsdnUrl,\n                                                                              customTags: WellKnownDiagnosticTags.Telemetry);\n \n         public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DefaultRule, PropertyRule, MultipleRule, VisibilityRule);\n \n         public override void Initialize(AnalysisContext analysisContext)\n-        { \n-            \n+        {\n+            analysisContext.RegisterSymbolAction(DoAnalysis, SymbolKind.Method);\n+        }\n+\n+        private static void DoAnalysis(SymbolAnalysisContext symbolContext)\n+        {\n+            var methodSymbol = (IMethodSymbol)symbolContext.Symbol;\n+            var location = methodSymbol.OriginalDefinition.Locations.First();","path":"src/Microsoft.ApiDesignGuidelines.Analyzers/Core/OperatorOverloadsHaveNamedAlternates.cs","position":97,"original_position":97,"commit_id":"6af2f6ebb9075105ef211443277e5e4fa92b415d","original_commit_id":"6af2f6ebb9075105ef211443277e5e4fa92b415d","user":{"login":"lgolding","id":11762653,"avatar_url":"https://avatars.githubusercontent.com/u/11762653?v=3","gravatar_id":"","url":"https://api.github.com/users/lgolding","html_url":"https://github.com/lgolding","followers_url":"https://api.github.com/users/lgolding/followers","following_url":"https://api.github.com/users/lgolding/following{/other_user}","gists_url":"https://api.github.com/users/lgolding/gists{/gist_id}","starred_url":"https://api.github.com/users/lgolding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgolding/subscriptions","organizations_url":"https://api.github.com/users/lgolding/orgs","repos_url":"https://api.github.com/users/lgolding/repos","events_url":"https://api.github.com/users/lgolding/events{/privacy}","received_events_url":"https://api.github.com/users/lgolding/received_events","type":"User","site_admin":false},"body":"You don't need to calculate the location unless you're reporting certain of the diagnostics below. I'd wrap this in a helper method `LocationOfSymbol`, and then call `LocationOfSymbol(methodSymbol)` in each of the three places below where you report a diagnostic at `location`.","created_at":"2016-01-09T00:23:31Z","updated_at":"2016-01-09T00:23:31Z","html_url":"https://github.com/dotnet/roslyn-analyzers/pull/772#discussion_r49254595","pull_request_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/comments/49254595"},"html":{"href":"https://github.com/dotnet/roslyn-analyzers/pull/772#discussion_r49254595"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772","id":54429078,"html_url":"https://github.com/dotnet/roslyn-analyzers/pull/772","diff_url":"https://github.com/dotnet/roslyn-analyzers/pull/772.diff","patch_url":"https://github.com/dotnet/roslyn-analyzers/pull/772.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/772","number":772,"state":"open","locked":false,"title":"add analyzer and code fixer for CA2225: Operator overloads have named alternates","user":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"body":"This analyzer/fixer ensures that operator overloads have friendly alternate names.  E.g., `operator +` requires the presence of a public method named `Add`.\r\n\r\nIn this version I attempted to stay as close to the original FxCop implementation as possible, where any public method with the appropriate name would satisfy the requirement.  I'm open to ensuring the friendly-named method meet other requirements (e.g., static/instance, parameters, etc.) but I wanted some input on that, first, particularly around style.  If overloading `operator +` requires a method named `Add`, should that be a static method taking two parameters with a signature matching the operator overload, or an instance method taking just one?  What if there's a method named `Add` that takes four parameters?  What then?\r\n\r\nFor the fixer, operators that dictate the presence of a `CompareTo` or `ToInt32` (or `To`+someType) method, or operators that require an `IsTrue` property, those are created as instance methods/properties, where all other methods are created as static.\r\n\r\nTagging @srivatsn @mavasani @heejaechang @lgolding for review.\r\n\r\nFixes #541.","created_at":"2015-12-23T00:03:31Z","updated_at":"2016-01-09T00:23:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c25177a3a2bb03e9823515c03e7580d5937288d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/772/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/statuses/6af2f6ebb9075105ef211443277e5e4fa92b415d","head":{"label":"brettfo:operator-overload-alternates","ref":"operator-overload-alternates","sha":"6af2f6ebb9075105ef211443277e5e4fa92b415d","user":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"repo":{"id":47581026,"name":"roslyn-analyzers","full_name":"brettfo/roslyn-analyzers","owner":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettfo/roslyn-analyzers","description":"","fork":true,"url":"https://api.github.com/repos/brettfo/roslyn-analyzers","forks_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/forks","keys_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/teams","hooks_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/hooks","issue_events_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/issues/events{/number}","events_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/events","assignees_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/assignees{/user}","branches_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/branches{/branch}","tags_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/tags","blobs_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/languages","stargazers_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/stargazers","contributors_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/contributors","subscribers_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/subscribers","subscription_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/subscription","commits_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/contents/{+path}","compare_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/merges","archive_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/downloads","issues_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/issues{/number}","pulls_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/labels{/name}","releases_url":"https://api.github.com/repos/brettfo/roslyn-analyzers/releases{/id}","created_at":"2015-12-07T21:42:16Z","updated_at":"2015-12-07T21:42:20Z","pushed_at":"2015-12-30T01:03:47Z","git_url":"git://github.com/brettfo/roslyn-analyzers.git","ssh_url":"git@github.com:brettfo/roslyn-analyzers.git","clone_url":"https://github.com/brettfo/roslyn-analyzers.git","svn_url":"https://github.com/brettfo/roslyn-analyzers","homepage":null,"size":4867,"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":"dotnet:master","ref":"master","sha":"c113f2cec0dae00fbf131007a9c00fa5471d8d2f","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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":36946704,"name":"roslyn-analyzers","full_name":"dotnet/roslyn-analyzers","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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-analyzers","description":"","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn-analyzers","forks_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/releases{/id}","created_at":"2015-06-05T17:48:07Z","updated_at":"2015-12-27T16:29:59Z","pushed_at":"2016-01-07T21:16:10Z","git_url":"git://github.com/dotnet/roslyn-analyzers.git","ssh_url":"git@github.com:dotnet/roslyn-analyzers.git","clone_url":"https://github.com/dotnet/roslyn-analyzers.git","svn_url":"https://github.com/dotnet/roslyn-analyzers","homepage":null,"size":6774,"stargazers_count":63,"watchers_count":63,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":176,"forks":55,"open_issues":176,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772"},"html":{"href":"https://github.com/dotnet/roslyn-analyzers/pull/772"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/772"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/772/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/pulls/772/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn-analyzers/statuses/6af2f6ebb9075105ef211443277e5e4fa92b415d"}}}}