Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reformat ZLibNative comments #112585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

edwardneal
Copy link
Contributor

This PR reformats the internal XML comments for the ZLibNative class so that they don't appear malformed in VS' Intellisense display.

We previously used <code> tags in the middle of sentences, or to refer to members. I've replaced these with <c> or <see> tags where appropriate.

On other occasions, we used <p> tags for a paragraph structure, which didn't appear to work properly. I've replaced these with <para> (with a few <br />s to handle subheadings.)

Finally, there was one reference to the current ZLib version. I've updated this.

Replace most instances of <code> with <c>, or <see> where relevant.
Replace <p> with <para> to maintain paragraph structure.
Update reference to current version number.
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Feb 14, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-io-compression
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

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

LGTM, just one quick question.

@@ -64,51 +66,53 @@ public enum CompressionStrategy : int
}

/// <summary>
/// In version 1.2.3, ZLib provides on the <code>Deflated</code>-<code>CompressionMethod</code>.
/// In version 2.2.1, zlib-ng provides only the <see cref="Deflated" /> <see cref="CompressionMethod" />.
Copy link
Member

Choose a reason for hiding this comment

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

Good catch. I assume zlib-ng 2.2.1 is the minimum version where this restriction was added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I'm describing a lack of support for anything besides Deflated, so the restriction's been present from the outset. The only reason I've picked v2.2.1 is that it's the one we've used at time of writing.

Copy link
Member

Choose a reason for hiding this comment

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

Ah okay. That's alright too.

@carlossanlop
Copy link
Member

/ba-g The Windows.Server2025.Amd64.Open failures are known dead-lettering in those machines. The stuck wasm leg was an unexpectedly restarted machine.

@carlossanlop carlossanlop merged commit 5aacdc4 into dotnet:main Feb 24, 2025
82 of 88 checks passed
@edwardneal edwardneal deleted the zlibnative-comment-cleanup branch February 24, 2025 20:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO.Compression community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants