This documentation is archived and is not being maintained.

Compiler Error CS0537 

Error Message

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 Framework class hierarchy, and as such, does not derive from anything else.