{"action":"created","issue":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/551","labels_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/551/comments","events_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/551/events","html_url":"https://github.com/code-cracker/code-cracker/issues/551","id":110949929,"number":551,"title":"Code fix in CC0014 TernaryOperatorAnalyzer remove comments","user":{"login":"filippobottega","id":2587684,"avatar_url":"https://avatars.githubusercontent.com/u/2587684?v=3","gravatar_id":"","url":"https://api.github.com/users/filippobottega","html_url":"https://github.com/filippobottega","followers_url":"https://api.github.com/users/filippobottega/followers","following_url":"https://api.github.com/users/filippobottega/following{/other_user}","gists_url":"https://api.github.com/users/filippobottega/gists{/gist_id}","starred_url":"https://api.github.com/users/filippobottega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filippobottega/subscriptions","organizations_url":"https://api.github.com/users/filippobottega/orgs","repos_url":"https://api.github.com/users/filippobottega/repos","events_url":"https://api.github.com/users/filippobottega/events{/privacy}","received_events_url":"https://api.github.com/users/filippobottega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T10:35:37Z","updated_at":"2015-10-12T12:57:14Z","closed_at":null,"body":"Code fix for CC0014 TernaryOperatorAnalyzer is not compatible with comments in VB code.\r\nExample:\r\nOriginal code:\r\n        If stackFrameItem.GetMethod.DeclaringType Is Nothing Then\r\n          declaringType = \"<Nothing>\"   'MLHIDE\r\n        Else\r\n          declaringType = stackFrameItem.GetMethod.DeclaringType.ToString\r\n        End If\r\nFixed code:\r\n        declaringType = If(stackFrameItem.GetMethod.DeclaringType Is Nothing, \"<Nothing>\", stackFrameItem.GetMethod.DeclaringType.ToString)\r\n\r\n 'MLHIDE comment was deleted.\r\n\r\nRegards,\r\n    Filippo Bottega\r\n"},"comment":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/comments/147390272","html_url":"https://github.com/code-cracker/code-cracker/issues/551#issuecomment-147390272","issue_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/551","id":147390272,"user":{"login":"filippobottega","id":2587684,"avatar_url":"https://avatars.githubusercontent.com/u/2587684?v=3","gravatar_id":"","url":"https://api.github.com/users/filippobottega","html_url":"https://github.com/filippobottega","followers_url":"https://api.github.com/users/filippobottega/followers","following_url":"https://api.github.com/users/filippobottega/following{/other_user}","gists_url":"https://api.github.com/users/filippobottega/gists{/gist_id}","starred_url":"https://api.github.com/users/filippobottega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filippobottega/subscriptions","organizations_url":"https://api.github.com/users/filippobottega/orgs","repos_url":"https://api.github.com/users/filippobottega/repos","events_url":"https://api.github.com/users/filippobottega/events{/privacy}","received_events_url":"https://api.github.com/users/filippobottega/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T12:57:14Z","updated_at":"2015-10-12T12:57:14Z","body":"I don't think so because in my example 'MLHIDE is a comment generated by Multi-Language for Visual Studio http://www.jollans.com/tiki/tiki-index.php and needs to be inserted at the end of the code line.\r\nIs it possible to create two different refactorings? "}}