Skip to content

Commit 7b0a27e

Browse files
saferngewarren
andauthored
Add triple slash comments for new System.Drawing API added in 6.0 (#57313)
* Add triple slash comments for new System.Drawing API added in 6.0 Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
1 parent defa26b commit 7b0a27e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/libraries/Common/src/System/Drawing/KnownColor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ public enum KnownColor
197197
MenuHighlight,
198198

199199
// "Web" colors, Part 2
200+
/// <summary>
201+
/// A system defined color representing the ARGB value <c>#663399</c>.
202+
/// </summary>
200203
RebeccaPurple,
201204
}
202205
}

src/libraries/System.Drawing.Primitives/src/System/Drawing/Color.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ namespace System.Drawing
249249

250250
public static Color Purple => new Color(KnownColor.Purple);
251251

252+
/// <summary>
253+
/// Gets a system-defined color that has an ARGB value of <c>#663399</c>.
254+
/// </summary>
255+
/// <value>A system-defined color.</value>
252256
public static Color RebeccaPurple => new Color(KnownColor.RebeccaPurple);
253257

254258
public static Color Red => new Color(KnownColor.Red);

0 commit comments

Comments
 (0)