Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

Corrects misspelling "reeceive" in ReceiveAsync method documentation.

Changes:

  • Fixed 4 occurrences in xml/System.Net.Sockets/Socket.xml (lines 8870, 8916, 9057, 9107)
  • Affected documentation for ReceiveAsync(ArraySegment<Byte>), ReceiveAsync(IList<ArraySegment<Byte>>), and their SocketFlags overloads

The typo appeared in the return value documentation describing zero-byte receive behavior.

Original prompt

This section details on the original issue you should resolve

<issue_title>Typo - "reecive" instead of "receive"</issue_title>
<issue_description>### Type of issue

Typo

Description

In the "ReceiveAsync(IList<ArraySegment>, SocketFlags)" overload (link), "Returns" section says: "If zero bytes are requested, reeceive operations may complete immediately". I believe it is a mistype and it should be fixed to "receive".

BTW, thanks for the documentation.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.socket.receiveasync?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Sockets/Socket.xml

Document Version Independent Id

684bb3c4-b96c-1249-53a9-921583b513c6

Platform Id

eb45fca9-91ae-c2ce-65b4-16e743b2421f

Article author

@karelz</issue_description>

<agent_instructions>Fix all "reeceive" typos to "receive"</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix typo in ReceiveAsync documentation Fix typo: "reeceive" → "receive" in Socket.xml documentation Oct 31, 2025
Copilot finished work on behalf of MihaZupan October 31, 2025 15:18
Copilot AI requested a review from MihaZupan October 31, 2025 15:18
@MihaZupan MihaZupan marked this pull request as ready for review October 31, 2025 15:19
@MihaZupan MihaZupan requested a review from a team as a code owner October 31, 2025 15:19
Copilot AI review requested due to automatic review settings October 31, 2025 15:19
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 corrects a spelling error in XML documentation for the Socket.ReceiveAsync method overloads. The typo "reeceive" has been corrected to "receive" in the return value descriptions.

  • Fixed spelling error "reeceive" → "receive" in four method overload documentation entries

@wfurt wfurt merged commit 1c2e70c into main Oct 31, 2025
12 checks passed
@wfurt wfurt deleted the copilot/fix-typo-in-receiveasync-docs branch October 31, 2025 17:05
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.

Typo - "reecive" instead of "receive"

3 participants