Add XML documentation to System.Linq.Extensions.ToEnumerable methods - #11742
Merged
Conversation
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
jonathanpeppers
marked this pull request as ready for review
June 25, 2026 20:39
Contributor
There was a problem hiding this comment.
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.Extensionswith a class-level<summary>. - Added full XML docs (
summary/param/returns/exceptionandtypeparamwhere applicable) for bothToEnumerableoverloads.
jonathanpeppers
approved these changes
Jun 26, 2026
simonrozsival
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The public
System.Linq.Extensionsclass and its two publicToEnumerableextension methods insrc/Mono.Android/System.Linq/Extensions.csshipped inMono.Android.dllwithout XML documentation, leaving consumers without IntelliSense for these Java-collection-to-LINQ helpers.Changes
<summary>to theExtensionsclass.<summary>,<param>,<returns>, and<exception>to the non-genericToEnumerable (this Java.Lang.IIterable)overload.<summary>,<typeparam>,<param>,<returns>, and<exception>to the genericToEnumerable<T> (this Java.Lang.IIterable)overload.Scope
usingdirectives, or#nullablestate changed.internalToEnumerator_Disposeoverloads left untouched (not public API).Color.csdoc style.