When I right click on a class (that is part of an third party assembly - not code I have written) in Visual Studio and select "Go to Definition", I can see all the methods, properties etc of the class.
I notice all these are all public
and no private
(or any other level of access) members are shown.
Does this feature only show public
members of the class?
You can find the answer on the doc page:
If you want to see the source code of the assembly, you have two options:
Tools > Options > Text Editor > C# > Advanced
section.