{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4600","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4600/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4600/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4600/events","html_url":"https://github.com/dotnet/roslyn/issues/4600","id":101508684,"number":4600,"title":"Nested call to non-existent ctor gives nonsensical quick fix","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T20:59:14Z","updated_at":"2015-08-17T20:59:14Z","closed_at":null,"body":"Source:\r\n```C#\r\nclass X {\r\n\tX(string x) {\r\n\tnew X(new string());\r\n\t}\r\n}\r\n```\r\nThe quick fix in the middle line will offer to create `X(string)`, even though that (a) already exists and (b) has nothing to do with the original error.\r\n\r\nIn other scenarios (I'm not sure exactly why), it generated a parameterless ctor with `:base()`.\r\n\r\nEven worse:\r\n\r\n```C#\r\nabstract class Y {\r\n    class X : Y {\r\n        void M() { new X(new string()); }\r\n    }\r\n}\r\n```\r\nQuick fix generates \r\n```C#\r\npublic X() : base() {\r\n}\r\n```"}}