Repository navigation
Fix typos and wording in API XML documentation - #137137
Merged
Merged
Conversation
Correct 48 repeated words and 3 spelling errors in public API XML documentation. No executable code, API signatures, or XML markup is changed. Co-authored-by: Copilot App <[email protected]>
Correct spelling and grammar in public API XML documentation across six files. No executable code or API signatures are changed. Co-authored-by: Copilot App <[email protected]>
Preserve both the merged API XML spelling fixes and the additional typo-2 documentation corrections. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/area-meta |
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
makazeu
marked this pull request as ready for review
November 7, 2026 10:11
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the API documentation wording improvements.
No open issues 🎉
What changed in this PR
This PR improves public API XML documentation across .NET libraries. The supplied changes affect comment text only; executable code, API signatures, and XML markup remain unchanged.
Changes:
- Correct spelling, grammar, punctuation, and repeated words.
- Clarify descriptions of validation conditions, assembly parsing results, and performance-counter metrics.
- Apply consistent wording fixes across related API overloads.
Builds and tests were not run.
| File | Description |
|---|---|
| src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs | Removes repeated words across overload documentation. |
| src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPolymorphismOptions.cs | Corrects “polymorphic” spelling. |
| src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs | Removes repeated articles in PEM-loading remarks. |
| src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X500DistinguishedName.cs | Corrects “Distinguished” spelling. |
| src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/ECDsa.cs | Removes repeated articles in signature-format remarks. |
| src/libraries/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Rfc3161TimestampTokenInfo.cs | Improves nonce and accuracy wording. |
| src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEReader.cs | Fixes punctuation in the PDB provider description. |
| src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/AssemblyNameInfo.cs | Corrects grammar and identifies the return as an assembly name. |
| src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshalling/ArrayMarshaller.cs | Corrects the article before “array.” |
| src/libraries/System.Private.CoreLib/src/System/Runtime/ExceptionServices/ExceptionHandling.cs | Removes a repeated article. |
| src/libraries/System.Private.CoreLib/src/System/Globalization/ThaiBuddhistCalendar.cs | Corrects “Gregorian” spelling. |
| src/libraries/System.Private.CoreLib/src/System/GCMemoryInfo.cs | Removes a repeated conjunction in the heap example. |
| src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Base64Url/Base64UrlDecoder.cs | Corrects articles in exception descriptions. |
| src/libraries/System.Private.CoreLib/src/System/ArgumentOutOfRangeException.cs | Clarifies validation conditions and comparison wording. |
| src/libraries/System.Net.Security/src/System/Net/Security/NegotiateAuthenticationClientOptions.cs | Removes a repeated article in target-name guidance. |
| src/libraries/System.Net.Http/src/System/Net/Http/HttpVersionPolicy.cs | Improves cleartext-connection wording. |
| src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/DebugInfoExpression.cs | Corrects comparison wording for source positions. |
| src/libraries/System.IO.Pipes/src/System/IO/Pipes/NamedPipeServerStreamAcl.cs | Corrects server-instance range wording. |
| src/libraries/System.IO.Packaging/src/System/IO/Packaging/PackUriHelper.PackUriScheme.cs | Corrects the article before “Uri.” |
| src/libraries/System.IO.Packaging/src/System/IO/Packaging/PackUriHelper.cs | Corrects articles and removes a repeated word. |
| src/libraries/System.IO.Packaging/src/System/IO/Packaging/PackageProperties.cs | Removes a repeated preposition. |
| src/libraries/System.Formats.Cbor/src/System/Formats/Cbor/Writer/CborWriter.Tag.cs | Removes a repeated word in the decimal-writing summary. |
| src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceData/CounterSet.cs | Corrects grammar and replaces “matrix” with “metric.” |
| src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceActivity.cs | Improves activity import/export grammar. |
| src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs | Corrects payload and event-name guidance grammar. |
| src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs | Improves parent-ID and root-ID wording. |
| src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/UriTypeConverter.cs | Removes an extra article in the conversion summary. |
| src/libraries/System.ComponentModel.Primitives/src/System/ComponentModel/ImmutableObjectAttribute.cs | Corrects articles in attribute descriptions. |
| src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ImportEngine.cs | Corrects “satisfied” spelling. |
| src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ExportsChangeEventArgs.cs | Corrects “applies to” wording. |
| src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ComposablePartCatalogChangeEventArgs.cs | Corrects “applies to” wording. |
| src/libraries/System.Collections.Immutable/src/System/Collections/Frozen/FrozenSet.AlternateLookup.cs | Corrects the article in the alternate-type description. |
| src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/BlockingCollection.cs | Corrects “allotted” spelling across timeout descriptions. |
| src/libraries/Microsoft.Extensions.Diagnostics.Abstractions/src/Metrics/IMetricsListener.cs | Corrects the article before “instrument.” |
| src/libraries/Microsoft.Extensions.DependencyInjection.Abstractions/src/FromKeyedServicesAttribute.cs | Removes an extra word in null-key remarks. |
Review effort: Balanced
jkotas
approved these changes
Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix spelling, repeated words, grammar, and inaccurate wording in public API XML documentation.
All changes are confined to API XML documentation comments (
///). No executable code, API signatures, or XML markup is changed.Note
This pull request was generated with GitHub Copilot.