{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4544","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4544/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4544/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4544/events","html_url":"https://github.com/dotnet/roslyn/issues/4544","id":100859027,"number":4544,"title":"[Bad Code Gen] VB.Net Initialization issues in Visual Studio 2015","user":{"login":"SagarDevanahalli","id":13787423,"avatar_url":"https://avatars.githubusercontent.com/u/13787423?v=3","gravatar_id":"","url":"https://api.github.com/users/SagarDevanahalli","html_url":"https://github.com/SagarDevanahalli","followers_url":"https://api.github.com/users/SagarDevanahalli/followers","following_url":"https://api.github.com/users/SagarDevanahalli/following{/other_user}","gists_url":"https://api.github.com/users/SagarDevanahalli/gists{/gist_id}","starred_url":"https://api.github.com/users/SagarDevanahalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SagarDevanahalli/subscriptions","organizations_url":"https://api.github.com/users/SagarDevanahalli/orgs","repos_url":"https://api.github.com/users/SagarDevanahalli/repos","events_url":"https://api.github.com/users/SagarDevanahalli/events{/privacy}","received_events_url":"https://api.github.com/users/SagarDevanahalli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Language-VB","name":"Language-VB","color":"207de5"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Resolution-Fixed","name":"Resolution-Fixed","color":"cccccc"}],"state":"closed","locked":false,"assignee":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/3","html_url":"https://github.com/dotnet/roslyn/milestones/1.1","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/3/labels","id":937401,"number":3,"title":"1.1","description":"This is our 1.1 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":1.5}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":402,"closed_issues":353,"state":"open","created_at":"2015-01-15T20:48:41Z","updated_at":"2015-09-15T18:09:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-13T20:16:17Z","updated_at":"2015-09-15T18:10:53Z","closed_at":"2015-09-15T18:09:49Z","body":"We see a significant difference in initializing multiple variables in VB .Net applications developed in VS 2013 from VS 2015.\r\n\r\nFor Example: In below line of code all the variables will be initialized to type Class1 if run on Visual Studio 2013. But when run on Visual Studio 2015 we see only the first variable being initialized and other variables not initialized.\r\n\r\n Friend WithEvents a, b, c As New Class1\r\n\r\nNote: Please rebuild the sample application when testing on respective version of Visual Studio.\r\n\r\nPlease see the attached images .\r\nWhen debugging in Visual Studio 2013\r\n![vs2013](https://cloud.githubusercontent.com/assets/13787423/9260497/9cd68374-4225-11e5-82ff-14f36732ef5e.PNG)\r\n\r\nWhen debugging in Visual Studio 2015\r\n![vs2015](https://cloud.githubusercontent.com/assets/13787423/9260496/9cd55ec2-4225-11e5-94a0-d1ee59e54450.PNG)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/140486856","html_url":"https://github.com/dotnet/roslyn/issues/4544#issuecomment-140486856","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4544","id":140486856,"user":{"login":"AlekseyTs","id":10522107,"avatar_url":"https://avatars.githubusercontent.com/u/10522107?v=3","gravatar_id":"","url":"https://api.github.com/users/AlekseyTs","html_url":"https://github.com/AlekseyTs","followers_url":"https://api.github.com/users/AlekseyTs/followers","following_url":"https://api.github.com/users/AlekseyTs/following{/other_user}","gists_url":"https://api.github.com/users/AlekseyTs/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekseyTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekseyTs/subscriptions","organizations_url":"https://api.github.com/users/AlekseyTs/orgs","repos_url":"https://api.github.com/users/AlekseyTs/repos","events_url":"https://api.github.com/users/AlekseyTs/events{/privacy}","received_events_url":"https://api.github.com/users/AlekseyTs/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T18:10:53Z","updated_at":"2015-09-15T18:10:53Z","body":"@VSadov Please verify."}}