Skip to content

Improve SseParser class comment#129167

Open
mrek-msft wants to merge 2 commits into
dotnet:mainfrom
mrek-msft:dev/mrek/snsse-class-descr-impr
Open

Improve SseParser class comment#129167
mrek-msft wants to merge 2 commits into
dotnet:mainfrom
mrek-msft:dev/mrek/snsse-class-descr-impr

Conversation

@mrek-msft

Copy link
Copy Markdown
Member

No description provided.

@mrek-msft mrek-msft self-assigned this Jun 9, 2026
Copilot AI review requested due to automatic review settings June 9, 2026 13:06

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

Updates XML documentation summaries for the Server-Sent Events parser types.

Changes:

  • Refines SseParser’s type summary to mention parsing SSEs “read from a trustworthy stream”.
  • Refines SseParser<T>’s type summary similarly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/libraries/System.Net.ServerSentEvents/src/System/Net/ServerSentEvents/SseParser.cs Updates the static factory type’s XML summary text.
src/libraries/System.Net.ServerSentEvents/src/System/Net/ServerSentEvents/SseParser_1.cs Updates the generic parser type’s XML summary text.

namespace System.Net.ServerSentEvents
{
/// <summary>Provides a parser for parsing server-sent events.</summary>
/// <summary>Provides a parser for parsing server-sent events read from a trustworthy stream.</summary>
namespace System.Net.ServerSentEvents
{
/// <summary>Provides a parser for server-sent events information.</summary>
/// <summary>Provides a parser for server-sent events information read from a trustworthy stream</summary>
@MihaZupan

Copy link
Copy Markdown
Member

I think we should consider enabling the scenario instead, filed #129168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants