'<classname1>' cannot inherit from <type> '<classname2>' because '<classname2>' is declared 'NotInheritable'
A class attempts to inherit from another class, but the desired base class is specified as NotInheritable
. NotInheritable
classes are used primarily to prevent unintended derivation.
Error ID: BC30299
- Remove the
NotInheritable
keyword from the definition of the desired base class, or remove theInherits
statement.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: