You are correct. But this might have worked in a previous version of
VB.NET, and the author of that code likely assumed it would still work. Either that, or the author THOUGHT that the code was correct but didn't bother to test it. That's about all I can think of right now.