Skip to content

Fix typos and wording in API XML documentation - #137137

Merged
jkotas merged 6 commits into
dotnet:mainfrom
makazeu:u/makazeu/typo-2
Nov 7, 2026
Merged

jkotas merged 6 commits into
dotnet:mainfrom
makazeu:u/makazeu/typo-2

Conversation

@makazeu

@makazeu makazeu commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

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.

makazeu and others added 3 commits November 7, 2026 08:24
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]>
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Nov 7, 2026
@azure-pipelines

Copy link
Copy Markdown
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.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@makazeu
makazeu marked this pull request as ready for review November 7, 2026 10:11
@makazeu makazeu changed the title Fix additional typos and wording in API XML documentation Fix typos and wording in API XML documentation Nov 7, 2026
@jkotas
jkotas requested a balanced review from Copilot November 7, 2026 15:52

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.

🟢 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
jkotas merged commit 7fb876f into dotnet:main Nov 7, 2026
136 checks passed
@makazeu
makazeu deleted the u/makazeu/typo-2 branch November 7, 2026 16:35
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Meta 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.

3 participants