Skip to content

Fix incorrect parameter documentation#1190

Closed
ruyut wants to merge 1 commit intomodelcontextprotocol:mainfrom
ruyut:main
Closed

Fix incorrect parameter documentation#1190
ruyut wants to merge 1 commit intomodelcontextprotocol:mainfrom
ruyut:main

Conversation

@ruyut
Copy link
Contributor

@ruyut ruyut commented Jan 28, 2026

Fix incorrect parameter documentation

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Copilot AI review requested due to automatic review settings January 28, 2026 17:49
public EquatableArray(IEnumerable<T> source) => _array = source.ToArray();

/// <param name="source">The source to wrap.</param>
/// <param name="array">The source to wrap.</param>
Copy link
Contributor

Choose a reason for hiding this comment

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

@ruyut, per my comment at #1189 (review), I'm going to close this PR. I appreciate your interest in contributing, but please batch up any such comment/doc one-word changes into a single PR rather than one PR per change. Thanks.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an XML documentation error where the parameter name in the documentation comment did not match the actual parameter name in the constructor signature.

Changes:

  • Corrected the <param> tag for the EquatableArray(T[] array) constructor to reference the correct parameter name "array" instead of "source"

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.

2 participants