{"action":"created","issue":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/853","repository_url":"https://api.github.com/repos/code-cracker/code-cracker","labels_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/853/labels{/name}","comments_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/853/comments","events_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/853/events","html_url":"https://github.com/code-cracker/code-cracker/issues/853","id":193746191,"number":853,"title":"BUG: CC0052 (Make readonly) does not work with lambda expressions and initialized variables","user":{"login":"kindermannhubert","id":11704036,"avatar_url":"https://avatars.githubusercontent.com/u/11704036?v=3","gravatar_id":"","url":"https://api.github.com/users/kindermannhubert","html_url":"https://github.com/kindermannhubert","followers_url":"https://api.github.com/users/kindermannhubert/followers","following_url":"https://api.github.com/users/kindermannhubert/following{/other_user}","gists_url":"https://api.github.com/users/kindermannhubert/gists{/gist_id}","starred_url":"https://api.github.com/users/kindermannhubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kindermannhubert/subscriptions","organizations_url":"https://api.github.com/users/kindermannhubert/orgs","repos_url":"https://api.github.com/users/kindermannhubert/repos","events_url":"https://api.github.com/users/kindermannhubert/events{/privacy}","received_events_url":"https://api.github.com/users/kindermannhubert/received_events","type":"User","site_admin":false},"labels":[{"id":145409494,"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/2%20-%20Working","name":"2 - Working","color":"CCCCCC","default":false},{"id":148701808,"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/analyzer","name":"analyzer","color":"0052cc","default":false},{"id":145409227,"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/bug","name":"bug","color":"fc2929","default":true},{"id":153078090,"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/C%23","name":"C#","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"giggio","id":334958,"avatar_url":"https://avatars.githubusercontent.com/u/334958?v=3","gravatar_id":"","url":"https://api.github.com/users/giggio","html_url":"https://github.com/giggio","followers_url":"https://api.github.com/users/giggio/followers","following_url":"https://api.github.com/users/giggio/following{/other_user}","gists_url":"https://api.github.com/users/giggio/gists{/gist_id}","starred_url":"https://api.github.com/users/giggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giggio/subscriptions","organizations_url":"https://api.github.com/users/giggio/orgs","repos_url":"https://api.github.com/users/giggio/repos","events_url":"https://api.github.com/users/giggio/events{/privacy}","received_events_url":"https://api.github.com/users/giggio/received_events","type":"User","site_admin":false},"assignees":[{"login":"giggio","id":334958,"avatar_url":"https://avatars.githubusercontent.com/u/334958?v=3","gravatar_id":"","url":"https://api.github.com/users/giggio","html_url":"https://github.com/giggio","followers_url":"https://api.github.com/users/giggio/followers","following_url":"https://api.github.com/users/giggio/following{/other_user}","gists_url":"https://api.github.com/users/giggio/gists{/gist_id}","starred_url":"https://api.github.com/users/giggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giggio/subscriptions","organizations_url":"https://api.github.com/users/giggio/orgs","repos_url":"https://api.github.com/users/giggio/repos","events_url":"https://api.github.com/users/giggio/events{/privacy}","received_events_url":"https://api.github.com/users/giggio/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-06T11:17:08Z","updated_at":"2017-01-09T02:19:40Z","closed_at":"2017-01-09T02:19:40Z","body":"Example:\r\n```c#\r\n    class C\r\n    {\r\n        private readonly Action set;\r\n        private int i = 0;\r\n\r\n        public C()\r\n        {\r\n            set = () => i = 1;\r\n        }\r\n\r\n        public void Modify()\r\n        {\r\n            set();\r\n        }\r\n    }\r\n```\r\nCC0052 is detected for \"i = 0\" but this kind of change would break compilation."},"comment":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/comments/271200671","html_url":"https://github.com/code-cracker/code-cracker/issues/853#issuecomment-271200671","issue_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/853","id":271200671,"user":{"login":"giggio","id":334958,"avatar_url":"https://avatars.githubusercontent.com/u/334958?v=3","gravatar_id":"","url":"https://api.github.com/users/giggio","html_url":"https://github.com/giggio","followers_url":"https://api.github.com/users/giggio/followers","following_url":"https://api.github.com/users/giggio/following{/other_user}","gists_url":"https://api.github.com/users/giggio/gists{/gist_id}","starred_url":"https://api.github.com/users/giggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giggio/subscriptions","organizations_url":"https://api.github.com/users/giggio/orgs","repos_url":"https://api.github.com/users/giggio/repos","events_url":"https://api.github.com/users/giggio/events{/privacy}","received_events_url":"https://api.github.com/users/giggio/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T02:19:40Z","updated_at":"2017-01-09T02:19:40Z","body":"Closed in #862"}}
{"actor":{"display_login":"giggio"}}