{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/11565","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/11565/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/11565/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/11565/events","html_url":"https://github.com/dotnet/roslyn/issues/11565","id":156840047,"number":11565,"title":"Provide a public API to parse generated names","user":{"login":"pharring","id":9952654,"avatar_url":"https://avatars.githubusercontent.com/u/9952654?v=3","gravatar_id":"","url":"https://api.github.com/users/pharring","html_url":"https://github.com/pharring","followers_url":"https://api.github.com/users/pharring/followers","following_url":"https://api.github.com/users/pharring/following{/other_user}","gists_url":"https://api.github.com/users/pharring/gists{/gist_id}","starred_url":"https://api.github.com/users/pharring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharring/subscriptions","organizations_url":"https://api.github.com/users/pharring/orgs","repos_url":"https://api.github.com/users/pharring/repos","events_url":"https://api.github.com/users/pharring/events{/privacy}","received_events_url":"https://api.github.com/users/pharring/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T20:14:11Z","updated_at":"2016-05-25T23:27:39Z","closed_at":null,"body":"I'd like to have a public API to parse compiler generated names, such as ```PlatformBlobStore+<>c__DisplayClass52_0+<<TryReferenceInternalAsync>b__0>d.MoveNext``` so that I can build more user-friendly names.\r\n\r\nIt would appear that [```GeneratedNames.TryParseGeneratedName```](https://github.com/dotnet/roslyn/blob/56f605c41915317ccdb925f66974ee52282609e7/src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNames.cs#L276) is a good start.\r\n\r\nApart from my own scenario (providing friendly names in stack views for performance traces), I've heard of other interesting scenarios:\r\n\r\n1. In the xUnit runner to show better stacks in async cases (@jasonmalinowski)\r\n1. In scripting (@tmat).\r\n1. Xamarin Workbooks (@tmat)"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/221737394","html_url":"https://github.com/dotnet/roslyn/issues/11565#issuecomment-221737394","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/11565","id":221737394,"user":{"login":"pharring","id":9952654,"avatar_url":"https://avatars.githubusercontent.com/u/9952654?v=3","gravatar_id":"","url":"https://api.github.com/users/pharring","html_url":"https://github.com/pharring","followers_url":"https://api.github.com/users/pharring/followers","following_url":"https://api.github.com/users/pharring/following{/other_user}","gists_url":"https://api.github.com/users/pharring/gists{/gist_id}","starred_url":"https://api.github.com/users/pharring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharring/subscriptions","organizations_url":"https://api.github.com/users/pharring/orgs","repos_url":"https://api.github.com/users/pharring/repos","events_url":"https://api.github.com/users/pharring/events{/privacy}","received_events_url":"https://api.github.com/users/pharring/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T23:27:39Z","updated_at":"2016-05-25T23:27:39Z","body":"+1 from the App Insights team"}}
{"actor":{"display_login":"pharring"}}