Error message appears in code similar to below:
Class MyClass(Of T As MyTypeBase) Public MySub Dim myObj As New T End Sub End Class
Solution:
Class MyClass(Of T As {MyTypeBase, New})
Sub New()