Skip to content

Commit 037167b

Browse files
Copilotjeffhandley
andauthored
Add format specifier documentation links to DebuggerDisplayAttribute properties (#11478)
* Initial plan for issue * Add format specifier documentation links to DebuggerDisplayAttribute properties Co-authored-by: jeffhandley <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jeffhandley <[email protected]>
1 parent 67cd567 commit 037167b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

xml/System.Diagnostics/DebuggerDisplayAttribute.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class MyTable
212212
<format type="text/markdown"><![CDATA[
213213
214214
## Remarks
215-
The value can contain curly braces ({ and }). Text within a pair of braces is evaluated as the name of a field, property, or method.
215+
The value can contain curly braces ({ and }). Text within a pair of braces is evaluated as the name of a field, property, or method. You can also use format specifiers within the braces to control how values are displayed. For information about debugger format specifiers, see [Format Specifiers in C#](/visualstudio/debugger/format-specifiers-in-csharp).
216216
217217
218218
@@ -377,7 +377,14 @@ class MyTable
377377
<Docs>
378378
<summary>Gets or sets the string to display in the type column of the debugger variable windows.</summary>
379379
<value>The string to display in the type column of the debugger variable windows.</value>
380-
<remarks>To be added.</remarks>
380+
<remarks>
381+
<format type="text/markdown"><![CDATA[
382+
383+
## Remarks
384+
The value can contain curly braces ({ and }). Text within a pair of braces is evaluated as the name of a field, property, or method. You can also use format specifiers within the braces to control how values are displayed. For information about debugger format specifiers, see [Format Specifiers in C#](/visualstudio/debugger/format-specifiers-in-csharp).
385+
386+
]]></format>
387+
</remarks>
381388
</Docs>
382389
</Member>
383390
<Member MemberName="Value">
@@ -432,9 +439,11 @@ class MyTable
432439
<format type="text/markdown"><![CDATA[
433440
434441
## Remarks
435-
This property contains the string passed in by the `value` parameter of the constructor.
442+
This property contains the string passed in by the `value` parameter of the constructor.
436443
437-
]]></format>
444+
The value can contain curly braces ({ and }). Text within a pair of braces is evaluated as the name of a field, property, or method. You can also use format specifiers within the braces to control how values are displayed. For information about debugger format specifiers, see [Format Specifiers in C#](/visualstudio/debugger/format-specifiers-in-csharp).
445+
446+
]]></format>
438447
</remarks>
439448
</Docs>
440449
</Member>

0 commit comments

Comments
 (0)