Search code examples
c#visual-studio-2015visual-studio-debugging

Watch Icons and Items in Visual Studio 2015


When I hover over a JObject variable in my C# code, I see a watch window pop up. When I expand that, I see the following image:

enter image description here

Questions

  1. What does the blue symbol/icon next to ChildrenTokens signify?

  2. Where is a comprehensive list of such symbols/icons?

  3. We all see ChildrenTokens listed in the watch window. However, when I am in code and try to access the ChildrenTokens property, intellisense doesn't show it. Why?

Thank you.


Solution

  • As you can see from JObject Documentation, ChildrenTokens is a protected override property. The icons with the wrench displays Properties; The blue icon (possibly a lock) is indicating that the property is protected. This would explain why you cannot access it via Intellisense.

    You can find a list of the icons and overlays here for VS2015 here: https://msdn.microsoft.com/en-us/library/y47ychfe(v=vs.140)

    Note that the icons vary depending on where you are viewing them.