G
Guest
We discovered that when you declare a function and variable with the same
name adding New key word to the variable, vb.net hangs when you try to build
the project :
imports System.Data
imports System.Data.SqlClient
Public Class TestBug
Public Function DoSomething(ByVal dummy As Integer) As IDataAdapter
Dim DoSomething As New SqlDataAdapter
End Function
End Class
You will need to restart VS in order to recover, but VS will not identify
the cause of this error.
name adding New key word to the variable, vb.net hangs when you try to build
the project :
imports System.Data
imports System.Data.SqlClient
Public Class TestBug
Public Function DoSomething(ByVal dummy As Integer) As IDataAdapter
Dim DoSomething As New SqlDataAdapter
End Function
End Class
You will need to restart VS in order to recover, but VS will not identify
the cause of this error.