{"action":"created","issue":{"url":"https://api.github.com/repos/ghuntley/conditions/issues/2","labels_url":"https://api.github.com/repos/ghuntley/conditions/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ghuntley/conditions/issues/2/comments","events_url":"https://api.github.com/repos/ghuntley/conditions/issues/2/events","html_url":"https://github.com/ghuntley/conditions/issues/2","id":85114219,"number":2,"title":"Code Analysis warns when checking arguments on public methods using Conditions","user":{"login":"SurajGupta","id":1529504,"avatar_url":"https://avatars.githubusercontent.com/u/1529504?v=3","gravatar_id":"","url":"https://api.github.com/users/SurajGupta","html_url":"https://github.com/SurajGupta","followers_url":"https://api.github.com/users/SurajGupta/followers","following_url":"https://api.github.com/users/SurajGupta/following{/other_user}","gists_url":"https://api.github.com/users/SurajGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/SurajGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SurajGupta/subscriptions","organizations_url":"https://api.github.com/users/SurajGupta/orgs","repos_url":"https://api.github.com/users/SurajGupta/repos","events_url":"https://api.github.com/users/SurajGupta/events{/privacy}","received_events_url":"https://api.github.com/users/SurajGupta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T14:05:23Z","updated_at":"2015-09-14T02:54:26Z","closed_at":null,"body":"I'm running Code Analysis (formerly FXCop) on a project and I'm getting `CA1062: Validate arguments of public methods`  It seems that Code Analysis does not respect a call like:\r\n`Condition.Requires(myParam, \"myParam\").IsNotNull()`\r\n\r\nIt thinks I am not checking for null when in fact I am, using Conditions.\r\n\r\nI'm wondering if a fully in-lined version of Conditions would make this go away?  Any experience on this matter?  Some kind of known workaround (besides for turning off the rule, which I'm hesitant to do)"},"comment":{"url":"https://api.github.com/repos/ghuntley/conditions/issues/comments/139947109","html_url":"https://github.com/ghuntley/conditions/issues/2#issuecomment-139947109","issue_url":"https://api.github.com/repos/ghuntley/conditions/issues/2","id":139947109,"user":{"login":"ghuntley","id":127353,"avatar_url":"https://avatars.githubusercontent.com/u/127353?v=3","gravatar_id":"","url":"https://api.github.com/users/ghuntley","html_url":"https://github.com/ghuntley","followers_url":"https://api.github.com/users/ghuntley/followers","following_url":"https://api.github.com/users/ghuntley/following{/other_user}","gists_url":"https://api.github.com/users/ghuntley/gists{/gist_id}","starred_url":"https://api.github.com/users/ghuntley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghuntley/subscriptions","organizations_url":"https://api.github.com/users/ghuntley/orgs","repos_url":"https://api.github.com/users/ghuntley/repos","events_url":"https://api.github.com/users/ghuntley/events{/privacy}","received_events_url":"https://api.github.com/users/ghuntley/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T02:54:26Z","updated_at":"2015-09-14T02:54:26Z","body":"No experience w/ this matter. I too would be hesitant to turn off the FXCop rule as well."}}