fix #397 - Incorrect code generated for adding event handler in VB.NET.