{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/codeformatter/issues/118","labels_url":"https://api.github.com/repos/dotnet/codeformatter/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/codeformatter/issues/118/comments","events_url":"https://api.github.com/repos/dotnet/codeformatter/issues/118/events","html_url":"https://github.com/dotnet/codeformatter/issues/118","id":76102939,"number":118,"title":"MarkReadonlyFieldRule only marks one field of the same name per run.","user":{"login":"bartonjs","id":10642668,"avatar_url":"https://avatars.githubusercontent.com/u/10642668?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonjs","html_url":"https://github.com/bartonjs","followers_url":"https://api.github.com/users/bartonjs/followers","following_url":"https://api.github.com/users/bartonjs/following{/other_user}","gists_url":"https://api.github.com/users/bartonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonjs/subscriptions","organizations_url":"https://api.github.com/users/bartonjs/orgs","repos_url":"https://api.github.com/users/bartonjs/repos","events_url":"https://api.github.com/users/bartonjs/events{/privacy}","received_events_url":"https://api.github.com/users/bartonjs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T19:49:24Z","updated_at":"2015-05-13T19:49:24Z","closed_at":null,"body":"```\r\nclass Outer1\r\n{\r\n    class Inner\r\n    {\r\n        private object _couldBeReadonly;\r\n    }\r\n}\r\n\r\nclass Outer2\r\n{\r\n    class Inner\r\n    {\r\n        private object _couldBeReadonly;\r\n    }\r\n}\r\n```\r\n\r\nThis will only mark Outer1+Inner._couldBeReadonly as readonly.\r\n\r\nIn the real-world example where this was hit, the inner class name and field name were identical, so the \"class-scoped\" name for both of them would be the same."}}