I am reading the .NET documentation, and encountered the IdentityReference class, which states:
Represents an identity and is the base class for the NTAccount and SecurityIdentifier classes. This class does not provide a public constructor, and therefore cannot be inherited.
My confusion is that it says it cannot be inherited, yet it also states it is the base class for the NTAccount and SecurityIdentifier classes. Based on my understanding, these classes are inheriting IdentityReference.
Is the documentation incorrect, or is my understanding incomplete? Should the documentation say 'This class does not provide a public constructor, and therefore cannot be instantiated'?
internalconstructor and associated comment: github.com/dotnet/runtime/blob/…