{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1783","repository_url":"https://api.github.com/repos/dotnet/roslyn-analyzers","labels_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1783/comments","events_url":"https://api.github.com/repos/dotnet/roslyn-analyzers/issues/1783/events","html_url":"https://github.com/dotnet/roslyn-analyzers/issues/1783","id":350066943,"node_id":"MDU6SXNzdWUzNTAwNjY5NDM=","number":1783,"title":"CA1801: False report for constuctor with expression body","user":{"login":"adamralph","id":677704,"node_id":"MDQ6VXNlcjY3NzcwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/677704?v=4","gravatar_id":"","url":"https://api.github.com/users/adamralph","html_url":"https://github.com/adamralph","followers_url":"https://api.github.com/users/adamralph/followers","following_url":"https://api.github.com/users/adamralph/following{/other_user}","gists_url":"https://api.github.com/users/adamralph/gists{/gist_id}","starred_url":"https://api.github.com/users/adamralph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamralph/subscriptions","organizations_url":"https://api.github.com/users/adamralph/orgs","repos_url":"https://api.github.com/users/adamralph/repos","events_url":"https://api.github.com/users/adamralph/events{/privacy}","received_events_url":"https://api.github.com/users/adamralph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T14:58:45Z","updated_at":"2018-08-13T14:58:45Z","closed_at":null,"author_association":"NONE","body":"#### Analyzer package\r\n\r\n[Microsoft.CodeQuality.Analyzers](https://www.nuget.org/packages/Microsoft.CodeQuality.Analyzers)\r\n\r\n#### Package Version\r\n\r\nExample: v2.6.1\r\n\r\n#### Diagnostic ID\r\n\r\n[CA1081](https://msdn.microsoft.com/en-us/library/ms182268.aspx)\r\n\r\n#### Repro steps\r\n\r\n1. Clone/download this commit: https://github.com/adamralph/bullseye/tree/1.1.0-rc.2\r\n1. Build the solution inside Visual Studio\r\n\r\n#### Expected behavior\r\n\r\nThere is no warning for this line: https://github.com/adamralph/bullseye/blob/1.1.0-rc.2/Bullseye/Internal/TargetWithoutInput.cs#L11\r\n\r\n#### Actual behavior\r\n\r\nCA1801 is shown for that line:\r\n\r\n| Severity | Code   | Description                                                                                        | Project                  | File                                                               | Line | Suppression State |\r\n|----------|--------|----------------------------------------------------------------------------------------------------|--------------------------|--------------------------------------------------------------------|------|-------------------|\r\n| Warning  | CA1801 | Parameter action of method .ctor is never used. Remove the parameter or use it in the method body. | Bullseye(netstandard2.0) | C:\\code\\adamralph\\bullseye\\Bullseye\\Internal\\TargetWithoutInput.cs | 11   | N/A               |\r\n\r\n#### Notes\r\n\r\nIf the constructor is changed to a block body, the warning no longer appears."}}
{"actor":{"display_login":"adamralph"}}