DebuggerBrowsable attribute - pdejonghe/DebuggerAttributesConsole GitHub Wiki
DebuggerBrowsable attribute on Microsoft Docs
This attribute can be applied only as a single instance to properties and fields. It cannot be applied to assemblies.
The constructor for this attribute takes one of the DebuggerBrowsableState enumeration values, which specifies one of the following states:
-
Never indicates that the member is not displayed in the data window. For example, using this value for the DebuggerBrowsableAttribute on a field removes the field from the hierarchy; the field is not displayed when you expand the enclosing type by clicking the plus sign (+) for the type instance.
-
Collapsed indicates that the member is displayed but not expanded by default. This is the default behavior.
-
RootHidden indicates that the member itself is not shown, but its constituent objects are displayed if it is an array or collection.