{"action":"created","issue":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/330","labels_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/330/comments","events_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/330/events","html_url":"https://github.com/code-cracker/code-cracker/issues/330","id":73025719,"number":330,"title":"CC0056 Incorrectly classifying format strings.","user":{"login":"thorgeirk11","id":2693474,"avatar_url":"https://avatars.githubusercontent.com/u/2693474?v=3","gravatar_id":"","url":"https://api.github.com/users/thorgeirk11","html_url":"https://github.com/thorgeirk11","followers_url":"https://api.github.com/users/thorgeirk11/followers","following_url":"https://api.github.com/users/thorgeirk11/following{/other_user}","gists_url":"https://api.github.com/users/thorgeirk11/gists{/gist_id}","starred_url":"https://api.github.com/users/thorgeirk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorgeirk11/subscriptions","organizations_url":"https://api.github.com/users/thorgeirk11/orgs","repos_url":"https://api.github.com/users/thorgeirk11/repos","events_url":"https://api.github.com/users/thorgeirk11/events{/privacy}","received_events_url":"https://api.github.com/users/thorgeirk11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-04T13:57:54Z","updated_at":"2015-05-10T00:14:32Z","closed_at":null,"body":"The CC0056 is incorrectly classifying format strings. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/2693474/7454603/df22b402-f264-11e4-8d59-35f0f183dfae.png)\r\n\r\n```CSharp\r\nstring.Format(@\"{0}\", 1);\r\nstring.Format(@\"{0}{0}\", 1);\r\n```\r\n\r\nI am not sure if it should cover the following:\r\n\r\n```CSharp\r\nstring.Format(@\"{1}\", 1); // This can be identified as a flawed string but isn't.\r\n```\r\n\r\nI am using 1.0.0.5-alpha of code cracker and Visual Studio 2015 RC"},"comment":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/comments/100564531","html_url":"https://github.com/code-cracker/code-cracker/issues/330#issuecomment-100564531","issue_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/330","id":100564531,"user":{"login":"carloscds","id":1697221,"avatar_url":"https://avatars.githubusercontent.com/u/1697221?v=3","gravatar_id":"","url":"https://api.github.com/users/carloscds","html_url":"https://github.com/carloscds","followers_url":"https://api.github.com/users/carloscds/followers","following_url":"https://api.github.com/users/carloscds/following{/other_user}","gists_url":"https://api.github.com/users/carloscds/gists{/gist_id}","starred_url":"https://api.github.com/users/carloscds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carloscds/subscriptions","organizations_url":"https://api.github.com/users/carloscds/orgs","repos_url":"https://api.github.com/users/carloscds/repos","events_url":"https://api.github.com/users/carloscds/events{/privacy}","received_events_url":"https://api.github.com/users/carloscds/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T00:14:32Z","updated_at":"2015-05-10T00:14:32Z","body":"@sharwell Yes, now it's a bug issue."}}