Skip to content

Add XML docs for Action-based Java.Lang.Thread constructors - #12265

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

Add XML docs for Action-based Java.Lang.Thread constructors#12265
jonathanpeppers with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-finder-add-xml-documentation

Conversation

Copilot AI commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The Java.Lang.Thread convenience constructors that accept Action were public API surface without XML docs, which left IntelliSense/API docs incomplete. This update adds constructor-level documentation for all five Action-based overloads in Thread.cs.

  • API docs: Action-based Thread overloads

    • Added /// <summary> to each Action-based constructor.
    • Added /// <param> entries for runHandler, threadName, group, and stackSize where applicable.
    • Added Android reference links via /// <seealso href="..."> using existing Mono.Android documentation style.
  • Scope

    • Documentation-only change in src/Mono.Android/Java.Lang/Thread.cs.
    • No behavioral or signature changes.
/// <summary>
/// Initializes a new <see cref="Thread"/> with the specified name that runs the specified <paramref name="runHandler"/> when started.
/// </summary>
/// <param name="runHandler">The delegate to execute on the new thread.</param>
/// <param name="threadName">The name of the new thread.</param>
/// <seealso href="https://developer.android.com/reference/java/lang/Thread#Thread(java.lang.Runnable,%20java.lang.String)">Android documentation for <c>java.lang.Thread</c></seealso>
public Thread (Action runHandler, string threadName) : this (new RunnableImplementor (runHandler), threadName) {}

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add XML documentation to Java.Lang.Thread constructors Add XML docs for Action-based Java.Lang.Thread constructors Jul 30, 2026
Copilot AI requested a review from jonathanpeppers July 30, 2026 02:47
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 Action-based Java.Lang.Thread constructors

2 participants