Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented May 21, 2024

Add reference information for all new compiler errors and warnings for params arrays.

Contributes to #40005

  • Consolidate all articles into one.
  • Edit and provide more clear general guidance on the rules for params parameters.

Internal previews

📄 File 🔗 Preview link
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/index.md "Compiler messages"
docs/csharp/language-reference/compiler-messages/params-arrays.md Errors and warnings related to the params modifier on method parameters

Consolidate all related (existing) content into one article. Add new errors and warnings to the introduction.
Combine errors on different concepts related to the `params` modifier.
@BillWagner BillWagner force-pushed the params-warnings-errors branch from b4217fb to 14a9259 Compare May 22, 2024 17:01
@BillWagner BillWagner marked this pull request as ready for review May 22, 2024 21:18
@BillWagner BillWagner requested a review from a team as a code owner May 22, 2024 21:18
@BillWagner BillWagner requested a review from IEvangelist May 22, 2024 21:18
@BillWagner BillWagner merged commit 3b1a1b6 into dotnet:main May 28, 2024
@BillWagner BillWagner deleted the params-warnings-errors branch May 28, 2024 13:46
@BillWagner BillWagner added the 🏁 Release: .NET 9 Work items for the .NET 9 release label Nov 11, 2024
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.

3 participants