{"action":"closed","issue":{"url":"https://api.github.com/repos/nunit/nunit.analyzers/issues/55","repository_url":"https://api.github.com/repos/nunit/nunit.analyzers","labels_url":"https://api.github.com/repos/nunit/nunit.analyzers/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit.analyzers/issues/55/comments","events_url":"https://api.github.com/repos/nunit/nunit.analyzers/issues/55/events","html_url":"https://github.com/nunit/nunit.analyzers/issues/55","id":332120383,"node_id":"MDU6SXNzdWUzMzIxMjAzODM=","number":55,"title":"Analyzer for TestCaseAttribute should also work for nullable types","user":{"login":"mikkelbu","id":1007631,"node_id":"MDQ6VXNlcjEwMDc2MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1007631?v=4","gravatar_id":"","url":"https://api.github.com/users/mikkelbu","html_url":"https://github.com/mikkelbu","followers_url":"https://api.github.com/users/mikkelbu/followers","following_url":"https://api.github.com/users/mikkelbu/following{/other_user}","gists_url":"https://api.github.com/users/mikkelbu/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkelbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkelbu/subscriptions","organizations_url":"https://api.github.com/users/mikkelbu/orgs","repos_url":"https://api.github.com/users/mikkelbu/repos","events_url":"https://api.github.com/users/mikkelbu/events{/privacy}","received_events_url":"https://api.github.com/users/mikkelbu/received_events","type":"User","site_admin":false},"labels":[{"id":879254428,"node_id":"MDU6TGFiZWw4NzkyNTQ0Mjg=","url":"https://api.github.com/repos/nunit/nunit.analyzers/labels/improvement","name":"improvement","color":"c792dd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-13T18:54:19Z","updated_at":"2018-08-15T21:59:53Z","closed_at":"2018-08-15T21:59:53Z","author_association":"MEMBER","body":"The analyzer should also handle the following (from nunit\\src\\NUnitFramework\\tests\\Attributes\\TestCaseAttributeTests.cs). Currently, it gives a warning `The value of the argument at position 0 cannot be assigned to the argument x`.\r\n\r\n```csharp\r\n        [TestCase(1)]\r\n        public void CanConvertIntToNullableLong(long? x)\r\n        {\r\n            Assert.That(x.HasValue);\r\n            Assert.That(x.Value, Is.EqualTo(1));\r\n        }\r\n```"}}
{"actor":{"display_login":"mikkelbu"}}