{"action":"created","issue":{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/32","labels_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/32/comments","events_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/32/events","html_url":"https://github.com/Visual-Stylecop/Visual-StyleCop/issues/32","id":110941273,"number":32,"title":"SA0102 : CSharp.CsParser : A syntax error has been discovered ... but compiler don't cry","user":{"login":"RalfRandermann","id":15086406,"avatar_url":"https://avatars.githubusercontent.com/u/15086406?v=3","gravatar_id":"","url":"https://api.github.com/users/RalfRandermann","html_url":"https://github.com/RalfRandermann","followers_url":"https://api.github.com/users/RalfRandermann/followers","following_url":"https://api.github.com/users/RalfRandermann/following{/other_user}","gists_url":"https://api.github.com/users/RalfRandermann/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfRandermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfRandermann/subscriptions","organizations_url":"https://api.github.com/users/RalfRandermann/orgs","repos_url":"https://api.github.com/users/RalfRandermann/repos","events_url":"https://api.github.com/users/RalfRandermann/events{/privacy}","received_events_url":"https://api.github.com/users/RalfRandermann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/labels/C%23%206","name":"C# 6","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"ptittof57","id":10358735,"avatar_url":"https://avatars.githubusercontent.com/u/10358735?v=3","gravatar_id":"","url":"https://api.github.com/users/ptittof57","html_url":"https://github.com/ptittof57","followers_url":"https://api.github.com/users/ptittof57/followers","following_url":"https://api.github.com/users/ptittof57/following{/other_user}","gists_url":"https://api.github.com/users/ptittof57/gists{/gist_id}","starred_url":"https://api.github.com/users/ptittof57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptittof57/subscriptions","organizations_url":"https://api.github.com/users/ptittof57/orgs","repos_url":"https://api.github.com/users/ptittof57/repos","events_url":"https://api.github.com/users/ptittof57/events{/privacy}","received_events_url":"https://api.github.com/users/ptittof57/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-12T09:38:37Z","updated_at":"2015-10-14T18:48:01Z","closed_at":"2015-10-14T18:48:00Z","body":"I use nameof in switch statement like this code\r\n...\r\n            switch (typeof(O).Name)\r\n            {\r\n                case nameof(CompanyFolderModel):\r\n                    result = this.GetCompanyFolderModel(name) as O;\r\n                    break;\r\n...\r\ncompiler accept this. StyleCop fails with syntax error.\r\n\r\nRegards\r\nRalf"},"comment":{"url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/comments/148154121","html_url":"https://github.com/Visual-Stylecop/Visual-StyleCop/issues/32#issuecomment-148154121","issue_url":"https://api.github.com/repos/Visual-Stylecop/Visual-StyleCop/issues/32","id":148154121,"user":{"login":"ptittof57","id":10358735,"avatar_url":"https://avatars.githubusercontent.com/u/10358735?v=3","gravatar_id":"","url":"https://api.github.com/users/ptittof57","html_url":"https://github.com/ptittof57","followers_url":"https://api.github.com/users/ptittof57/followers","following_url":"https://api.github.com/users/ptittof57/following{/other_user}","gists_url":"https://api.github.com/users/ptittof57/gists{/gist_id}","starred_url":"https://api.github.com/users/ptittof57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptittof57/subscriptions","organizations_url":"https://api.github.com/users/ptittof57/orgs","repos_url":"https://api.github.com/users/ptittof57/repos","events_url":"https://api.github.com/users/ptittof57/events{/privacy}","received_events_url":"https://api.github.com/users/ptittof57/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T18:48:00Z","updated_at":"2015-10-14T18:48:00Z","body":"Fixed in the next release"}}