-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update for the new extensions #50246
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
Conversation
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.
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.
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 |
Co-authored-by: Copilot <[email protected]>
meaghanlewis
left a comment
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.
These changes LGTM.
Fixes #45758
Update the LINQ section to highlight C# 14 extension members over the C# 3 style
thisextension 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