{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/2757","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/2757/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/2757/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/2757/events","html_url":"https://github.com/dotnet/roslyn/issues/2757","id":76478783,"number":2757,"title":"Lightbulb fix for CS0305 is not helpful","user":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Analyzers","name":"Area-Analyzers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T20:24:20Z","updated_at":"2015-05-14T20:24:20Z","closed_at":null,"body":"Given the following code:\r\n\r\n``` C#\r\nusing System.Collections.Generic;\r\n\r\nnamespace ConsoleApplication1\r\n{\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            HashSet<> // CS0305 Using the generic type 'HashSet<T>' requires 1 type arguments\t\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nThe light bulb fix for CS0305 above offers to prefix the HashSet<> with \"System.Collections.Generic\" to turn the code into:\r\n\r\n``` C#\r\nusing System.Collections.Generic;\r\n\r\nnamespace ConsoleApplication1\r\n{\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            System.Collections.Generic.HashSet<> // CS0305 Using the generic type 'HashSet<T>' requires 1 type arguments\t\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nWhich gets is not useful and does get us any closer to fixing the actual issue."}}