{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/702","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/702/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/702/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/702","id":70498738,"number":702,"title":"Fix SA1509 getting reported for consecutive blocks","user":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/code%20review","name":"code review","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/6","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/milestones/1.0.0%20Alpha%205","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/6/labels","id":996186,"number":6,"title":"1.0.0 Alpha 5","description":"","creator":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":177,"state":"open","created_at":"2015-02-26T02:13:28Z","updated_at":"2015-04-23T20:44:47Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-23T19:58:25Z","updated_at":"2015-04-23T20:45:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/702","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/702","diff_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/702.diff","patch_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/702.patch"},"body":"Fixes #689"},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/95714251","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/702#issuecomment-95714251","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/702","id":95714251,"user":{"login":"Przemyslaw-W","id":10596585,"avatar_url":"https://avatars.githubusercontent.com/u/10596585?v=3","gravatar_id":"","url":"https://api.github.com/users/Przemyslaw-W","html_url":"https://github.com/Przemyslaw-W","followers_url":"https://api.github.com/users/Przemyslaw-W/followers","following_url":"https://api.github.com/users/Przemyslaw-W/following{/other_user}","gists_url":"https://api.github.com/users/Przemyslaw-W/gists{/gist_id}","starred_url":"https://api.github.com/users/Przemyslaw-W/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Przemyslaw-W/subscriptions","organizations_url":"https://api.github.com/users/Przemyslaw-W/orgs","repos_url":"https://api.github.com/users/Przemyslaw-W/repos","events_url":"https://api.github.com/users/Przemyslaw-W/events{/privacy}","received_events_url":"https://api.github.com/users/Przemyslaw-W/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T20:45:56Z","updated_at":"2015-04-23T20:45:56Z","body":"I still claim it should raise SA1509 for first nested block in both cases:\r\n\r\n```\r\nclass Foo\r\n{\r\n    void Bar()\r\n    {\r\n        /* test comment */\r\n\r\n        {\r\n        }\r\n\r\n        {\r\n        }\r\n    }\r\n}\";\r\n```\r\nand\r\n```\r\nclass Foo\r\n{\r\n    void Bar()\r\n    {\r\n        // test comment\r\n\r\n        {\r\n        }\r\n\r\n        {\r\n        }\r\n    }\r\n}\";\r\n```"}}