Skip to content

Add XML documentation to named Color properties in Android.Graphics.Color#12171

Draft
jonathanpeppers with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-finder-add-xml-documentation-again
Draft

Add XML documentation to named Color properties in Android.Graphics.Color#12171
jonathanpeppers with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-finder-add-xml-documentation-again

Conversation

Copilot AI commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

The 141 predefined named Color static properties (Transparent through YellowGreen) in Android.Graphics.Color had no /// XML doc comments, leaving developers with no IntelliSense summaries and triggering CS1591 for undocumented public members.

Changes

  • Added a one-line <summary> to every named-color static property in the block, referencing the ARGB hex value from the property body and a lowercase color name description
  • Transparent gets a distinct summary noting full transparency; its ARGB is documented as #00000000 to make the zero alpha channel explicit
  • No runtime values or behavior changed
/// <summary>Gets a fully transparent <see cref="Color" /> (ARGB #00000000).</summary>
public static Color Transparent { get { return new Color (0x000000); } }

/// <summary>Gets a <see cref="Color" /> with the ARGB value #FFEE82EE (violet).</summary>
public static Color Violet { get { return new Color (0xFFEE82EE); } }

…olor

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add XML documentation to named Color properties in Android.Graphics.Color Add XML documentation to named Color properties in Android.Graphics.Color Jul 18, 2026
Copilot AI requested a review from jonathanpeppers July 18, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix-finder] Add XML documentation to named Color properties in Android.Graphics.Color

2 participants