Skip to content

Commit 4302698

Browse files
authored
Update using-the-debuggerdisplay-attribute.md
1 parent fad3f9e commit 4302698

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
@@ -78,7 +78,7 @@ csc /t:library autoexp.cs
7878
## Using Expressions in DebuggerDisplay
7979
Although you can use a general expression between the braces in a DebuggerDisplay attribute, this practice is not recommended.
8080

81-
A general expression in DebuggerDisplay has implicit access to the `this` pointer for the current instance of the target type only. The expression has no access to aliases, locals, or pointers. If the expression references properties, attributes on those properties are not processed. For example, the C# code `[DebuggerDisplay("Object {count - 2}")` would display `Object 6` if the field `count` was 8.
81+
A general expression in DebuggerDisplay has implicit access to the `this` pointer for the current instance of the target type only. The expression has no access to aliases, locals, or pointers. If the expression references properties, attributes on those properties are not processed. For example, the C# code `[DebuggerDisplay("Object {count - 2}")]` would display `Object 6` if the field `count` was 8.
8282

8383
Using expressions in DebuggerDisplay can lead to the following issues:
8484

0 commit comments

Comments
 (0)