Udostępnij za pośrednictwem


<error>: '<classname1>' inherits from '<classname2>'

A circular inheritance hierarchy has been detected. A class is designated as inheriting from itself, or from another class which directly or ultimately inherits from it.

This message can appear more than once, to trace the circular inheritance path.

Error ID: BC30256

To correct this error

  • Break the circularity by removing at least one Inherits statement in the circular inheritance path.

See Also

Concepts

Inheritance Basics