What goes in the “Non-Public members” node in Visual Studio's Watch window?
问题 I assumed that all Non-Public (ie, private, protected, internal, and internal protected) members of C# objects go under " Non-Public Members " when I look at objects in Visual Studio's Watch Window. But then, I noticed an anamoly with this code: class HashDerived : System.Security.Cryptography.HashAlgorithm { ... } HashAlgorithm hash1 = new HashDerived(); HashAlgorithm hash2 = new System.Security.Cryptography.SHA1Cng(); hash1 's "Non-Public Members" looks like this: whereas hash2 's "Non