{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1879","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1879/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1879/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1879/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/1879","id":119762338,"number":1879,"title":"SA1133 batch code fix does half the work","user":{"login":"vbfox","id":131878,"avatar_url":"https://avatars.githubusercontent.com/u/131878?v=3","gravatar_id":"","url":"https://api.github.com/users/vbfox","html_url":"https://github.com/vbfox","followers_url":"https://api.github.com/users/vbfox/followers","following_url":"https://api.github.com/users/vbfox/following{/other_user}","gists_url":"https://api.github.com/users/vbfox/gists{/gist_id}","starred_url":"https://api.github.com/users/vbfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbfox/subscriptions","organizations_url":"https://api.github.com/users/vbfox/orgs","repos_url":"https://api.github.com/users/vbfox/repos","events_url":"https://api.github.com/users/vbfox/events{/privacy}","received_events_url":"https://api.github.com/users/vbfox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T17:03:34Z","updated_at":"2015-12-01T17:08:05Z","closed_at":null,"body":"Given the following code (Using the `JetBrains.Annotations` NuGet package):\r\n\r\n```csharp\r\nusing JetBrains.Annotations;\r\n\r\nnamespace Stylecop_rc1_bug_repro\r\n{\r\n    class Foo\r\n    {\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo1{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo2{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo3 { get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo4{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo5{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo6{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo7{ get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo8{ get; set; }\r\n\r\n    }\r\n}\r\n```\r\n\r\nApplying SA1133 code fix on document scope give :\r\n\r\n```csharp\r\nusing JetBrains.Annotations;\r\n\r\nnamespace Stylecop_rc1_bug_repro\r\n{\r\n    class Foo\r\n    {\r\n        [CanBeNull]\r\n        [UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo1 { get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo2 { get; set; }\r\n\r\n        [CanBeNull]\r\n        [UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo3 { get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo4 { get; set; }\r\n\r\n        [CanBeNull]\r\n        [UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo5 { get; set; }\r\n\r\n        [CanBeNull, UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo6 { get; set; }\r\n\r\n        [CanBeNull]\r\n        [UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo7 { get; set; }\r\n\r\n        [CanBeNull]\r\n        [UsedImplicitly(ImplicitUseKindFlags.Assign)]\r\n        public string Foo8 { get; set; }\r\n\r\n    }\r\n}\r\n```\r\n\r\n(*VS2015 update 1, StyleCop 1.0 RC1*)"},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/161034811","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/1879#issuecomment-161034811","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1879","id":161034811,"user":{"login":"vbfox","id":131878,"avatar_url":"https://avatars.githubusercontent.com/u/131878?v=3","gravatar_id":"","url":"https://api.github.com/users/vbfox","html_url":"https://github.com/vbfox","followers_url":"https://api.github.com/users/vbfox/followers","following_url":"https://api.github.com/users/vbfox/following{/other_user}","gists_url":"https://api.github.com/users/vbfox/gists{/gist_id}","starred_url":"https://api.github.com/users/vbfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbfox/subscriptions","organizations_url":"https://api.github.com/users/vbfox/orgs","repos_url":"https://api.github.com/users/vbfox/repos","events_url":"https://api.github.com/users/vbfox/events{/privacy}","received_events_url":"https://api.github.com/users/vbfox/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T17:08:05Z","updated_at":"2015-12-01T17:08:05Z","body":"BTW Running the code fix a second time finishes the work cleanly."}}