{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1375","repository_url":"https://api.github.com/repos/dotnet/roslyn-analyzers","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1375/comments","events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1375/events","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/1375","id":274701746,"number":1375,"title":"CA1801 (Review unused parameters) needs an option to ignore effectively public methods","user":{"login":"mavasani","id":10605811,"avatar_url":"https://avatars2.githubusercontent.com/u/10605811?v=4","gravatar_id":"","url":"https://api.github.com/users/mavasani","html_url":"https://github.com/mavasani","followers_url":"https://api.github.com/users/mavasani/followers","following_url":"https://api.github.com/users/mavasani/following{/other_user}","gists_url":"https://api.github.com/users/mavasani/gists{/gist_id}","starred_url":"https://api.github.com/users/mavasani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavasani/subscriptions","organizations_url":"https://api.github.com/users/mavasani/orgs","repos_url":"https://api.github.com/users/mavasani/repos","events_url":"https://api.github.com/users/mavasani/events{/privacy}","received_events_url":"https://api.github.com/users/mavasani/received_events","type":"User","site_admin":false},"labels":[{"id":295411083,"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Area-Microsoft.CodeQuality.Analyzers","name":"Area-Microsoft.CodeQuality.Analyzers","color":"5319e7","default":false},{"id":228566424,"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/labels/Feature%20Request","name":"Feature Request","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"ivanbasov","id":5455484,"avatar_url":"https://avatars2.githubusercontent.com/u/5455484?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanbasov","html_url":"https://github.com/ivanbasov","followers_url":"https://api.github.com/users/ivanbasov/followers","following_url":"https://api.github.com/users/ivanbasov/following{/other_user}","gists_url":"https://api.github.com/users/ivanbasov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbasov/subscriptions","organizations_url":"https://api.github.com/users/ivanbasov/orgs","repos_url":"https://api.github.com/users/ivanbasov/repos","events_url":"https://api.github.com/users/ivanbasov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbasov/received_events","type":"User","site_admin":false},"assignees":[{"login":"ivanbasov","id":5455484,"avatar_url":"https://avatars2.githubusercontent.com/u/5455484?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanbasov","html_url":"https://github.com/ivanbasov","followers_url":"https://api.github.com/users/ivanbasov/followers","following_url":"https://api.github.com/users/ivanbasov/following{/other_user}","gists_url":"https://api.github.com/users/ivanbasov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbasov/subscriptions","organizations_url":"https://api.github.com/users/ivanbasov/orgs","repos_url":"https://api.github.com/users/ivanbasov/repos","events_url":"https://api.github.com/users/ivanbasov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbasov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/milestones/7","html_url":"https://github.com/dotnet/roslyn-analyzers/milestone/7","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/milestones/7/labels","id":2520293,"number":7,"title":"15.5.Later","description":"","creator":{"login":"jinujoseph","id":12449387,"avatar_url":"https://avatars3.githubusercontent.com/u/12449387?v=4","gravatar_id":"","url":"https://api.github.com/users/jinujoseph","html_url":"https://github.com/jinujoseph","followers_url":"https://api.github.com/users/jinujoseph/followers","following_url":"https://api.github.com/users/jinujoseph/following{/other_user}","gists_url":"https://api.github.com/users/jinujoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/jinujoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinujoseph/subscriptions","organizations_url":"https://api.github.com/users/jinujoseph/orgs","repos_url":"https://api.github.com/users/jinujoseph/repos","events_url":"https://api.github.com/users/jinujoseph/events{/privacy}","received_events_url":"https://api.github.com/users/jinujoseph/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":33,"state":"open","created_at":"2017-05-15T07:24:35Z","updated_at":"2017-11-16T23:34:24Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-16T23:34:24Z","updated_at":"2017-11-16T23:34:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### Analyzer package\r\n\r\nMicrosoft.CodeQuality.Analyzers\r\n\r\n#### Analyzer\r\n\r\nReviewUnusedParametersAnalyzer\r\n\r\n#### Suggestion\r\n\r\nWe need some way to configure the analyzer to ignore effectively public methods - lot of clients would not want their shipped public API surface to change/be flagged (for example, Roslyn itself). This is not going to be trivial until we implement analyzer options API. So, meanwhile we can consider having 2 different code fixes/actions for this diagnostic for a user friendly FixAll experience:\r\n\r\n1. Works on entire API surface\r\n2. Works just on APIs which are not effectively public\r\n\r\nI think we need this to ensure the code fix for rule is useful.\r\n"}}
{"actor":{"display_login":"mavasani"}}