{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/8180","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/8180/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8180/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/8180/events","html_url":"https://github.com/dotnet/roslyn/issues/8180","id":128852879,"number":8180,"title":"ObjectInitializerCodeFixProvider crashes and therefore BatchFixAllProvider crashes too","user":{"login":"jakubsuchybio","id":6567287,"avatar_url":"https://avatars.githubusercontent.com/u/6567287?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubsuchybio","html_url":"https://github.com/jakubsuchybio","followers_url":"https://api.github.com/users/jakubsuchybio/followers","following_url":"https://api.github.com/users/jakubsuchybio/following{/other_user}","gists_url":"https://api.github.com/users/jakubsuchybio/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubsuchybio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubsuchybio/subscriptions","organizations_url":"https://api.github.com/users/jakubsuchybio/orgs","repos_url":"https://api.github.com/users/jakubsuchybio/repos","events_url":"https://api.github.com/users/jakubsuchybio/events{/privacy}","received_events_url":"https://api.github.com/users/jakubsuchybio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-26T15:23:07Z","updated_at":"2016-01-26T16:26:36Z","closed_at":"2016-01-26T16:26:36Z","body":"Hi.\r\nWhen I wanted to resolve aprox. 60 Warnings via BatchFixAllProvider of CC0008, I encountered crash.\r\nSo I started to make it manually and I found one, that is crashing ObjectInitializerCodeFixProvider and I think that was a reason for BatchFixAllProvider crashes.\r\nHere is the snippet:\r\n```\r\nvar quitButton = new GButton( 0x7D9, 0x7DB, 0x7DA, 18, 445, new OnClick( FinalGumps.Quit_OnClick ) );\r\nquitButton.Tooltip = new Tooltip( ClientLocalization.GetString( \"#57#Ukončit Ultimu Online\" ) );\r\n```\r\nHope it helps to solve these crashes, regards.\r\n\r\nEdit: And I am sorry I had opened more Github Projects and I created this issue in the wrong one and I can't delete it. \r\n\r\nHowever it still crashes BatchFixAllProvider, which is from here, so maybe some sort of fail checking of crashes and ignoring in BatchFixAllProver would be welcome."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/175101955","html_url":"https://github.com/dotnet/roslyn/issues/8180#issuecomment-175101955","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8180","id":175101955,"user":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T16:26:36Z","updated_at":"2016-01-26T16:26:36Z","body":"[ObjectInitializerCodeFixProvider](https://github.com/code-cracker/code-cracker/blob/master/src/CSharp/CodeCracker/Style/ObjectInitializerCodeFixProvider.cs#L24) is a code fix offered by [code cracker](https://github.com/code-cracker) Looks like this has already been [filed over there](https://github.com/code-cracker/code-cracker/issues/676).  Closing this issue as this looks to be an exception originating from the codefix itself, not the BatchFixAllProvider ."}}