Skip to content

Add XML documentation to System.Linq.Extensions.ToEnumerable methods - #11742

Merged
simonrozsival merged 2 commits into
mainfrom
copilot/fix-finder-add-xml-documentation
Jun 26, 2026
Merged

Add XML documentation to System.Linq.Extensions.ToEnumerable methods#11742
simonrozsival merged 2 commits into
mainfrom
copilot/fix-finder-add-xml-documentation

Conversation

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

The public System.Linq.Extensions class and its two public ToEnumerable extension methods in src/Mono.Android/System.Linq/Extensions.cs shipped in Mono.Android.dll without XML documentation, leaving consumers without IntelliSense for these Java-collection-to-LINQ helpers.

Changes

  • Added <summary> to the Extensions class.
  • Added <summary>, <param>, <returns>, and <exception> to the non-generic ToEnumerable (this Java.Lang.IIterable) overload.
  • Added <summary>, <typeparam>, <param>, <returns>, and <exception> to the generic ToEnumerable<T> (this Java.Lang.IIterable) overload.

Scope

  • Docs-only: no signatures, logic, using directives, or #nullable state changed.
  • internal ToEnumerator_Dispose overloads left untouched (not public API).
  • Tabs for indentation, matching the existing Color.cs doc style.

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add XML documentation to ToEnumerable methods in Mono.Android Add XML documentation to System.Linq.Extensions.ToEnumerable methods Jun 25, 2026
Copilot AI requested a review from jonathanpeppers June 25, 2026 19:57
@jonathanpeppers
jonathanpeppers marked this pull request as ready for review June 25, 2026 20:39
Copilot AI review requested due to automatic review settings June 25, 2026 20:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing XML documentation for the public System.Linq.Extensions type and its two public ToEnumerable extension methods in src/Mono.Android/System.Linq/Extensions.cs, improving IntelliSense for Java IIterable → LINQ usage in Mono.Android.dll.

Changes:

  • Documented System.Linq.Extensions with a class-level <summary>.
  • Added full XML docs (summary/param/returns/exception and typeparam where applicable) for both ToEnumerable overloads.

@jonathanpeppers jonathanpeppers added the ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable). label Jun 26, 2026
@simonrozsival
simonrozsival merged commit 118e3c7 into main Jun 26, 2026
41 checks passed
@simonrozsival
simonrozsival deleted the copilot/fix-finder-add-xml-documentation branch June 26, 2026 09:06
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants