{"action":"opened","issue":{"url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/473","repository_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions","labels_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/473/comments","events_url":"https://api.github.com/repos/dennisdoomen/FluentAssertions/issues/473/events","html_url":"https://github.com/dennisdoomen/FluentAssertions/issues/473","id":173443792,"number":473,"title":"Problem with dynamic as argument","user":{"login":"abenedykt","id":2996107,"avatar_url":"https://avatars.githubusercontent.com/u/2996107?v=3","gravatar_id":"","url":"https://api.github.com/users/abenedykt","html_url":"https://github.com/abenedykt","followers_url":"https://api.github.com/users/abenedykt/followers","following_url":"https://api.github.com/users/abenedykt/following{/other_user}","gists_url":"https://api.github.com/users/abenedykt/gists{/gist_id}","starred_url":"https://api.github.com/users/abenedykt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abenedykt/subscriptions","organizations_url":"https://api.github.com/users/abenedykt/orgs","repos_url":"https://api.github.com/users/abenedykt/repos","events_url":"https://api.github.com/users/abenedykt/events{/privacy}","received_events_url":"https://api.github.com/users/abenedykt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T12:38:58Z","updated_at":"2016-08-26T12:38:58Z","closed_at":null,"body":"When a function gets a dynamic as argument I get an error event though it returns not dynamic result\r\n`\r\n        [Fact]\r\n        public void PassingTest()\r\n        {\r\n            true.Should().BeTrue();\r\n            false.Should().BeFalse();\r\n            object arg = \"aad\";\r\n            SomeMethod(arg).Should().BeTrue();\r\n\r\n        }\r\n\r\n        [Fact]\r\n        public void FailingTest()\r\n        {\r\n            true.Should().BeTrue();\r\n            false.Should().BeFalse();\r\n            dynamic arg = \"aad\";\r\n            SomeMethod(arg).Should().BeTrue();\r\n\r\n        }\r\n\r\n        private bool SomeMethod(dynamic arg)\r\n        {\r\n            return true;\r\n        }\r\n`"}}
{"actor":{"display_login":"abenedykt"}}