-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Reformat ZLibNative
comments
#112585
Conversation
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.
Tagging subscribers to this area: @dotnet/area-system-io-compression |
There was a problem hiding this 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" />. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
/ba-g The Windows.Server2025.Amd64.Open failures are known dead-lettering in those machines. The stuck wasm leg was an unexpectedly restarted machine. |
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.