{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/vblang/issues/175","repository_url":"https://api.github.com/repos/dotnet/vblang","labels_url":"https://api.github.com/repos/dotnet/vblang/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/vblang/issues/175/comments","events_url":"https://api.github.com/repos/dotnet/vblang/issues/175/events","html_url":"https://github.com/dotnet/vblang/issues/175","id":262222631,"number":175,"title":"Inline assignment inside while statement","user":{"login":"hishamco","id":3237266,"avatar_url":"https://avatars3.githubusercontent.com/u/3237266?v=4","gravatar_id":"","url":"https://api.github.com/users/hishamco","html_url":"https://github.com/hishamco","followers_url":"https://api.github.com/users/hishamco/followers","following_url":"https://api.github.com/users/hishamco/following{/other_user}","gists_url":"https://api.github.com/users/hishamco/gists{/gist_id}","starred_url":"https://api.github.com/users/hishamco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hishamco/subscriptions","organizations_url":"https://api.github.com/users/hishamco/orgs","repos_url":"https://api.github.com/users/hishamco/repos","events_url":"https://api.github.com/users/hishamco/events{/privacy}","received_events_url":"https://api.github.com/users/hishamco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-02T20:44:54Z","updated_at":"2017-10-02T20:44:54Z","closed_at":null,"author_association":"NONE","body":"Moved from https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/5804781-inline-assignment-inside-while-statement?tracking_code=b8ad6215b353994f320715a0d9ee7569\r\n\r\nI think VB developers miss the inline assignment inside while clause feature, which is already exist in c#\r\nits great if we can find the equivalent for this in VB\r\n\r\n```csharp\r\nwhile ((bytesRead = stream.Read(buffer, 0, buffer.Length)) > 0) \r\n{ \r\n// Use the data you've read \r\n}\r\n```\r\n\r\nwill be\r\n\r\n```vb\r\nWhile (bytesRead = stream.Read(buffer, 0, buffer.Length)) > 0 \r\n' Use the data you've read \r\nEnd While\r\n```\r\n\r\nI know the VB uses = as equality operator inside while, but while VB uses the same operator for assignment, perhaps we can find a proper solution for this"}}
{"actor":{"display_login":"hishamco"}}