From 7b0a27e370b8b00dccabc11df879a6f59ad75c60 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Thu, 12 Aug 2021 18:35:49 -0700 Subject: [PATCH] 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> --- src/libraries/Common/src/System/Drawing/KnownColor.cs | 3 +++ .../System.Drawing.Primitives/src/System/Drawing/Color.cs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/libraries/Common/src/System/Drawing/KnownColor.cs b/src/libraries/Common/src/System/Drawing/KnownColor.cs index 2608f2e5f3d89e..0ad4da86e4e13e 100644 --- a/src/libraries/Common/src/System/Drawing/KnownColor.cs +++ b/src/libraries/Common/src/System/Drawing/KnownColor.cs @@ -197,6 +197,9 @@ public enum KnownColor MenuHighlight, // "Web" colors, Part 2 + /// + /// A system defined color representing the ARGB value #663399. + /// RebeccaPurple, } } diff --git a/src/libraries/System.Drawing.Primitives/src/System/Drawing/Color.cs b/src/libraries/System.Drawing.Primitives/src/System/Drawing/Color.cs index 55ea746b2c9b55..dc7130b583bf60 100644 --- a/src/libraries/System.Drawing.Primitives/src/System/Drawing/Color.cs +++ b/src/libraries/System.Drawing.Primitives/src/System/Drawing/Color.cs @@ -249,6 +249,10 @@ namespace System.Drawing public static Color Purple => new Color(KnownColor.Purple); + /// + /// Gets a system-defined color that has an ARGB value of #663399. + /// + /// A system-defined color. public static Color RebeccaPurple => new Color(KnownColor.RebeccaPurple); public static Color Red => new Color(KnownColor.Red);