{"action":"opened","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1170","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1170/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1170/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1170/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1170","id":146583526,"number":1170,"title":"Await inside using statement forces invalid javascript","user":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136"}],"state":"open","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/22","html_url":"https://github.com/bridgedotnet/Bridge/milestones/1.13","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/22/labels","id":1655293,"number":22,"title":"1.13","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":0,"state":"open","created_at":"2016-03-19T20:32:12Z","updated_at":"2016-04-07T11:05:11Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-07T11:05:11Z","updated_at":"2016-04-07T11:05:11Z","closed_at":null,"body":"### Expected\r\nCorrect javascript\r\n\r\n\r\n### Actual\r\nInvalid javascript\r\n\r\n\r\n### Steps To Reproduce\r\n\r\n```csharp\r\npublic class App\r\n{\r\n    [Ready]\r\n    public async static void Main()\r\n    {\r\n        var c = new Class1();\r\n        using(c)\r\n        {\r\n             await Task.Delay(1000);\r\n        }\r\n    }\r\n}\r\n\r\npublic class Class1: IDispose\r\n{\r\n     public void Dispose()\r\n     {\r\n          Console.Log(\"Dispose\");\r\n     }\r\n}\r\n```"}}