'Testing a class that is declared as both mustinherit and notinheritable Imports System NotInheritable MustInherit Class A Public MustOverride Sub F() End Class Module MustInheritTest Sub Main() End Sub End Module