Custom Interface cannot Inherit System Interface

Description

The Fore language specification forbids interfaces to be inherited from system interfaces described in platform's system assemblies.

Troubleshooting Tips

Change the inheritance hierarchy. Ensure that custom interfaces are not inherited from platform's system interfaces.

Example

Interface IMyInterface: INamedEntityModel
    
End Interface IMyInterface;

When the specified code is compiled, the following error is displayed: Custom interface cannot inherit system interface. To resolve the error, remove the inheritance from the INamedEntityModel interface in the interface description.

See also:

Compiler Messages