{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4583","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4583/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4583/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4583/events","html_url":"https://github.com/dotnet/roslyn/issues/4583","id":101233658,"number":4583,"title":"Inline of temporary string-interpolation variable gives duplicate parentheses","user":{"login":"ljw1004","id":3316258,"avatar_url":"https://avatars.githubusercontent.com/u/3316258?v=3","gravatar_id":"","url":"https://api.github.com/users/ljw1004","html_url":"https://github.com/ljw1004","followers_url":"https://api.github.com/users/ljw1004/followers","following_url":"https://api.github.com/users/ljw1004/following{/other_user}","gists_url":"https://api.github.com/users/ljw1004/gists{/gist_id}","starred_url":"https://api.github.com/users/ljw1004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljw1004/subscriptions","organizations_url":"https://api.github.com/users/ljw1004/orgs","repos_url":"https://api.github.com/users/ljw1004/repos","events_url":"https://api.github.com/users/ljw1004/events{/privacy}","received_events_url":"https://api.github.com/users/ljw1004/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-16T04:39:41Z","updated_at":"2015-08-16T17:31:30Z","closed_at":null,"body":"Here's my code:\r\n```vb\r\n        Dim s1 = $\"hello\"\r\n        Dim s2 = AscW(s1)\r\n```\r\nIf I try to inline the temporary variable `s1`, it generates duplicate parentheses:\r\n![inline-interpolate](https://cloud.githubusercontent.com/assets/3316258/9292021/f3f139c6-4395-11e5-9119-bde01688f7dc.png)\r\n\r\nI think it shouldn't! It should only generate one pair of parentheses! \r\n\r\n(The problem appears limited to string interpolation expressions. It doesn't happen with normal strings.)\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/131587493","html_url":"https://github.com/dotnet/roslyn/issues/4583#issuecomment-131587493","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4583","id":131587493,"user":{"login":"AdamSpeight2008","id":900107,"avatar_url":"https://avatars.githubusercontent.com/u/900107?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamSpeight2008","html_url":"https://github.com/AdamSpeight2008","followers_url":"https://api.github.com/users/AdamSpeight2008/followers","following_url":"https://api.github.com/users/AdamSpeight2008/following{/other_user}","gists_url":"https://api.github.com/users/AdamSpeight2008/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamSpeight2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamSpeight2008/subscriptions","organizations_url":"https://api.github.com/users/AdamSpeight2008/orgs","repos_url":"https://api.github.com/users/AdamSpeight2008/repos","events_url":"https://api.github.com/users/AdamSpeight2008/events{/privacy}","received_events_url":"https://api.github.com/users/AdamSpeight2008/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T17:31:30Z","updated_at":"2015-08-16T17:31:30Z","body":"The extra parentheses could be advantageous, if the interpolation string had any arg-holes in it."}}