dotnet / dotnet/csharpstandard
Not all types derive from the object class type
Open
- 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
Assessment
This issue has not been assessed yet.