Go Back
2 Votes

Visual Studio should show properties of static classes


With an object, you can hover over it in code and see all the properties.  And you can hover over a property and see its value

With static classes you can only view the properties if they are mentione din code, but not the contents of all properties in the class.

For example, I have a static class called FileIO and it contains the last error number and error message encountered.   I cannot see these properties in debug.

2 Comments | Posted by Gordon Ireland to Visual Studio Integration on 8/30/2019 8:08 AM
Marty Lewis
Hi Gordon,

I think that this post might be asking for the same behavior.

10/7/2019 4:29 PM   0  
Jerry Fawcett
We discussed this idea, and we don’t believe there’s a reasonable way to implement it. So we’re not planning to implement it at this time. Note that C# also doesn’t provide this functionality.

10/24/2019 4:20 PM   0  
Please log in to comment on this idea.