{"action":"created","issue":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/56","labels_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/56/comments","events_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/56/events","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/56","id":11238841,"number":56,"title":"Provide an external XML annotations file to prevent ReSharper's \"implicit captures\" warning","user":{"login":"hmemcpy","id":601206,"avatar_url":"https://avatars.githubusercontent.com/u/601206?v=3","gravatar_id":"","url":"https://api.github.com/users/hmemcpy","html_url":"https://github.com/hmemcpy","followers_url":"https://api.github.com/users/hmemcpy/followers","following_url":"https://api.github.com/users/hmemcpy/following{/other_user}","gists_url":"https://api.github.com/users/hmemcpy/gists{/gist_id}","starred_url":"https://api.github.com/users/hmemcpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmemcpy/subscriptions","organizations_url":"https://api.github.com/users/hmemcpy/orgs","repos_url":"https://api.github.com/users/hmemcpy/repos","events_url":"https://api.github.com/users/hmemcpy/events{/privacy}","received_events_url":"https://api.github.com/users/hmemcpy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/P3","name":"P3","color":"a349a7"},{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels/up-for-grabs","name":"up-for-grabs","color":"ffff00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":44,"created_at":"2013-02-21T12:43:46Z","updated_at":"2015-05-11T13:57:36Z","closed_at":"2015-04-23T11:05:16Z","body":"Please see this blog post: http://www.hmemcpy.com/blog/2013/02/preventing-resharpers-implicitly-captured-closure-warning-in-fakeiteasy-unit-tests/\r\n\r\nReSharper will complain about the `A.CallTo` methods, that they implicitly capture local variables. It's possible to prevent this, by teaching ReSharper (via external annotations, so it's completely seamless non-intrusive) that the lambdas are executed immediately by FakeItEasy.\r\n\r\nBy supplying an external annotations XML together with the DLL, this will \"just work\", and no code changes required anywhere."},"comment":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/comments/100916827","html_url":"https://github.com/FakeItEasy/FakeItEasy/issues/56#issuecomment-100916827","issue_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/56","id":100916827,"user":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T13:57:36Z","updated_at":"2015-05-11T13:57:36Z","body":"It may be a problem.\r\n_I_ don't have 2015 yet, so that'll hamper my ability to work on the project. ;)\r\n\r\nReally, we should have an issue for moving to VS2015 (and supporting 4.6?) first, and the \"analyzer\" issue should depend on that issue.\r\n\r\nI don't often pay enough attention to the fancy new toys to know what's needed when. For example, I'm not even sure if we'll need to add 4.6 support, or if things will just work.\r\nI should pay more attention, but have been more interested in the 2.0 release (and it's \"outdoor work around the house\" season where I live, so that sucks up quite a bit of what would normally be FakeItEasy time)…\r\n\r\nI'm inclined to think that there's no need for the master branch to require VS2015 until it's released, though. And All of these changes would be going in after the FakeItEasy 2.0 release, which has already taken way longer than I'd initially hoped. (Not complaining - I'm happy with many of the originally unplanned changes we've been putting in.)"}}