{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/exercism.io/issues/2187","labels_url":"https://api.github.com/repos/exercism/exercism.io/issues/2187/labels{/name}","comments_url":"https://api.github.com/repos/exercism/exercism.io/issues/2187/comments","events_url":"https://api.github.com/repos/exercism/exercism.io/issues/2187/events","html_url":"https://github.com/exercism/exercism.io/issues/2187","id":56164404,"number":2187,"title":"Ambiguous Assert.That expressions for c# tests","user":{"login":"99dsimonp","id":8665096,"avatar_url":"https://avatars.githubusercontent.com/u/8665096?v=3","gravatar_id":"","url":"https://api.github.com/users/99dsimonp","html_url":"https://github.com/99dsimonp","followers_url":"https://api.github.com/users/99dsimonp/followers","following_url":"https://api.github.com/users/99dsimonp/following{/other_user}","gists_url":"https://api.github.com/users/99dsimonp/gists{/gist_id}","starred_url":"https://api.github.com/users/99dsimonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/99dsimonp/subscriptions","organizations_url":"https://api.github.com/users/99dsimonp/orgs","repos_url":"https://api.github.com/users/99dsimonp/repos","events_url":"https://api.github.com/users/99dsimonp/events{/privacy}","received_events_url":"https://api.github.com/users/99dsimonp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-01T14:02:25Z","updated_at":"2015-02-01T20:54:11Z","closed_at":null,"body":"Hello.\r\nGoing through some of the exercises yesterday I repeatedly had problems compiling because of test files. \r\nThe problem becomes apparent in many exercises, one of which was grade-school.\r\n\r\nWhen compiling the expression Assert.That I was told the expressions were ambiguous and it couldn't decide which overload of the method to use. \r\n\r\nThis was easily fixed by making local test variables actual and expected on the previous lines and replacing the method call and the instantiation of a new dictionary for the input variables of the Asser.That. \r\n\r\nI'm writing this as I imagine I can't be the only one who has experienced this problem.\r\n\r\nCheers\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/exercism/exercism.io/issues/comments/72383668","html_url":"https://github.com/exercism/exercism.io/issues/2187#issuecomment-72383668","issue_url":"https://api.github.com/repos/exercism/exercism.io/issues/2187","id":72383668,"user":{"login":"dinkelburt","id":938798,"avatar_url":"https://avatars.githubusercontent.com/u/938798?v=3","gravatar_id":"","url":"https://api.github.com/users/dinkelburt","html_url":"https://github.com/dinkelburt","followers_url":"https://api.github.com/users/dinkelburt/followers","following_url":"https://api.github.com/users/dinkelburt/following{/other_user}","gists_url":"https://api.github.com/users/dinkelburt/gists{/gist_id}","starred_url":"https://api.github.com/users/dinkelburt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinkelburt/subscriptions","organizations_url":"https://api.github.com/users/dinkelburt/orgs","repos_url":"https://api.github.com/users/dinkelburt/repos","events_url":"https://api.github.com/users/dinkelburt/events{/privacy}","received_events_url":"https://api.github.com/users/dinkelburt/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T20:54:11Z","updated_at":"2015-02-01T20:54:11Z","body":"I looked up your nucleotide-count exercise on exercism and I think I know the problem.\r\n\r\nThe tests are trying to guide you to a specific API that your code isn't adhering to. For example, the ```Has_no_nucleotides``` test is expecting a property called ```NucleotideCount``` with a type of ```Dictionary<char, int>``` but your ```DNA``` class is giving it a **method** of type ```object```. If you change the method to a property with the correct type, the code will compile.\r\n\r\nNUnit's methods are mostly non-generic and deal with ```objects```. I suspect that you're getting to ```object``` because of Resharper trying to help you create the object members based on NUnit's ```object``` API which isn't the desired result.\r\n\r\nDoes that make sense?"}}