{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/10913","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/10913/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/10913/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/10913/events","html_url":"https://github.com/dotnet/roslyn/issues/10913","id":151424319,"number":10913,"title":"Fuzzy matching only works when you're missing a namespace using","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-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Feature%20Request","name":"Feature Request","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T16:04:42Z","updated_at":"2016-04-27T17:51:20Z","closed_at":"2016-04-27T17:51:20Z","body":"I know this is because of where it's plugged in, but it feels odd that we'll only fix up a name if the namespace is not in scope. I expect to be offered to convert from \"Bar\" -> \"BarService\".\r\n\r\n``` C#\r\nusing Foo;\r\n\r\nnamespace Namespace\r\n{\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            Bar bar = new Bar();\r\n        }\r\n    }\r\n}\r\n\r\nnamespace Foo\r\n{\r\n    class BarService\r\n    {\r\n    }\r\n}\r\n\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1103906/14858987/06238858-0c57-11e6-8607-8b8fac077f1e.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/215169688","html_url":"https://github.com/dotnet/roslyn/issues/10913#issuecomment-215169688","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/10913","id":215169688,"user":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T17:51:19Z","updated_at":"2016-04-27T17:51:19Z","body":"@CyrusNajmabadi enabled spell checking for C# since Update 2, so this works with current bits:\r\n![image](https://cloud.githubusercontent.com/assets/312835/14862383/f8224b18-0c65-11e6-8580-e19fc444e12d.png)\r\n"}}