dotnet / dotnet/csharpstandard

Not all types derive from the object class type

Open
#274 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

This is an error that has been in the specification for a long time.
Some years ago, Eric Lippert told the spec would be corrected "in the next version", but it never has been.
I'm not sure how it should be worded, but those two lines are wrong:
"Every type in C# directly or indirectly derives from the object class type, and object is the ultimate base class of all types."
"The object class type is the ultimate base class of all other types. Every type in C# directly or indirectly derives from the object class type."

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.