Skip to content

Commit 3a0fb23

Browse files
Merge pull request #10353 from Mikejo5000/mikejo-br18
Correct the attribute usage info for DebuggerDisplay
2 parents abef426 + 3b8da86 commit 3a0fb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/debugger/using-the-debuggerdisplay-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.workload:
2020

2121
[!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)]
2222

23-
The <xref:System.Diagnostics.DebuggerDisplayAttribute> controls how an object, property, or field is displayed in the debugger variable windows. This attribute can be applied to types, delegates, properties, fields, and assemblies. If applied to a base type, the attribute also applies to a subclass.
23+
The <xref:System.Diagnostics.DebuggerDisplayAttribute> controls how an object, property, or field is displayed in the debugger variable windows. This attribute can be applied to types (classes, structs, enums, delegates). If applied to a base type, the attribute also applies to a subclass.
2424

2525
The `DebuggerDisplay` attribute has a single argument, which is a string to be displayed in the value column for instances of the type. This string can contain braces (`{` and `}`). Text within a pair of braces is evaluated as a field, property or method.
2626

0 commit comments

Comments
 (0)