Skip to content

Add articles for remaining C# 13 and C# 14 errors #46376

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

Merged
merged 6 commits into from
May 30, 2025

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented May 23, 2025

Fixes #45117

Add almost all errors and warnings for any warnings added in C# 13 and C# 14.

A few C# 14 stragglers exist. I made new issues for those, and split them off from this issue because of the size of the PR. Adding those and making those consolidations would make this grow much bigger.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/compiler-messages/assembly-references.md Resolve errors and warnings related to assembly references
docs/csharp/language-reference/compiler-messages/expression-tree-restrictions.md Resolve errors and warnings generated from expressions prohibited in expression trees
docs/csharp/language-reference/compiler-messages/extension-declarations.md "Errors and warnings related to extension declarations"
docs/csharp/language-reference/compiler-messages/feature-version-errors.md Resolve warnings related to language features and versions
docs/csharp/language-reference/compiler-messages/partial-declarations.md docs/csharp/language-reference/compiler-messages/partial-declarations
docs/csharp/language-reference/compiler-messages/source-generator-errors.md Errors and warnings associated with source generators and interceptors
docs/csharp/language-reference/compiler-messages/string-literal.md Errors and warnings for string literal declarations
docs/csharp/language-reference/toc.yml docs/csharp/language-reference/toc
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md C# 14 errors begin here
docs/csharp/specification/toc.yml docs/csharp/specification/toc

@dotnetrepoman dotnetrepoman bot added this to the May 2025 milestone May 23, 2025
@BillWagner BillWagner changed the title Add target for remaining C# 13 and C# 14 errors Add articles for remaining C# 13 and C# 14 errors May 23, 2025
@BillWagner BillWagner force-pushed the latest-error-updates branch from acb7cd7 to ddd980b Compare May 23, 2025 19:33
Add all errors and warnings for any warnings added in C# 13.

Also, add list of undocumented (as of yet) C# 14 errors.
Create a new article to include all the existing extension errors and warnings.
Add the description and fixes for all new extension errors.
@BillWagner BillWagner marked this pull request as ready for review May 27, 2025 21:48
@BillWagner BillWagner requested a review from a team as a code owner May 27, 2025 21:48
@BillWagner BillWagner requested a review from adegeo May 27, 2025 21:48
@BillWagner
Copy link
Member Author

@adegeo PTAL

@BillWagner BillWagner merged commit c5e0427 into dotnet:main May 30, 2025
9 checks passed
@BillWagner BillWagner deleted the latest-error-updates branch May 30, 2025 18:19
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.

Add latest errors and warnings from C# 13 - 14
2 participants