Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Dec 1, 2025

Fixes #45758

Update the LINQ section to highlight C# 14 extension members over the C# 3 style this extension methods.

In general, refer to "extension members" over "extension methods" when discussing the language feature. Use "extension methods" in the context of writing methods specifically, as in the query expression pattern.


Internal previews

📄 File 🔗 Preview link
docs/csharp/linq/get-started/features-that-support-linq.md C# features that support LINQ
docs/csharp/linq/get-started/write-linq-queries.md Write LINQ queries
docs/csharp/linq/how-to-extend-linq.md Write your own extensions to LINQ
docs/csharp/linq/index.md docs/csharp/linq/index
docs/csharp/linq/standard-query-operators/index.md Standard query operators overview

Fixes dotnet#45758

Update the LINQ section to highlight C# 14 extension members over the C# 3 style `this` extension methods.

In general, refer to "extension members" over "extension methods" when discussing the language feature. Use "extension methods" in the context of writing *methods* specifically, as in the query expression pattern.
Copilot AI review requested due to automatic review settings December 1, 2025 20:59
@BillWagner BillWagner requested a review from a team as a code owner December 1, 2025 20:59
@dotnetrepoman dotnetrepoman bot added this to the December 2025 milestone Dec 1, 2025
Copilot finished reviewing on behalf of BillWagner December 1, 2025 21:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the LINQ documentation to emphasize C# 14's extension members feature over the older C# 3 style extension methods, aligning the terminology with modern C# language features.

  • Updates terminology from "extension methods" to "extension members" throughout LINQ documentation
  • Adds ai-usage frontmatter to indicate AI-assisted content creation
  • Improves clarity and adherence to documentation style guidelines

Reviewed changes

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

Show a summary per file
File Description
docs/csharp/linq/standard-query-operators/index.md Updated title casing, terminology from "extension methods" to "extension members," and improved sentence structure for clarity
docs/csharp/linq/index.md Converted terminology to "extension members," updated AI frontmatter, and improved readability with active voice
docs/csharp/linq/how-to-extend-linq.md Updated title formatting, changed references to "extension members," and refined instructional language for clarity
docs/csharp/linq/get-started/write-linq-queries.md Changed "extension methods" to "extension members," updated AI frontmatter, and improved imperative mood usage
docs/csharp/linq/get-started/features-that-support-linq.md Updated section headings to sentence case, changed "Extension Methods" to "Extension members," and improved spacing

BillWagner and others added 2 commits December 1, 2025 17:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@meaghanlewis meaghanlewis left a comment

Choose a reason for hiding this comment

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

These changes LGTM.

@BillWagner BillWagner merged commit 47bf395 into dotnet:main Dec 2, 2025
9 checks passed
@BillWagner BillWagner deleted the linq-extensions branch December 2, 2025 14:54
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.

[C# 14-Tutorials]: New Feature - Use new Extensions in samples and snippets

2 participants