Edit

Share via


Compiler Error CS0537

The class System.Object cannot have a base class or implement an interface

CS0537 occurs when rebuilding the System class libraries, and where Object derives from another class. You are very unlikely to encounter this error. If you do, do not derive Object from a class or interface: it is the root of the entire .NET class hierarchy, and as such, does not derive from anything else.