Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Jul 2, 2024

Fixes #41204

Add documentation for the new compiler errors and warnings and are produced for new features involving ref and unsafe blocks in iterators and async methods.

While doing these edits, combine existing and related compiler message articles.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/compiler-messages/iterator-yield.md Errors and warnings related to the yield return statement and iterator methods
docs/csharp/whats-new/csharp-13.md What's new in C# 13

@BillWagner BillWagner force-pushed the update-ref-errors branch from 97761c2 to cd6498c Compare July 3, 2024 19:40
@BillWagner BillWagner marked this pull request as ready for review July 3, 2024 19:40
@BillWagner BillWagner requested a review from a team as a code owner July 3, 2024 19:40
@BillWagner BillWagner requested a review from adegeo July 3, 2024 19:40
@BillWagner
Copy link
Member Author

ping @adegeo for review.

@BillWagner BillWagner enabled auto-merge (squash) July 9, 2024 17:55
Copy link
Contributor

@adegeo adegeo left a comment

Choose a reason for hiding this comment

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

LGTM!

@BillWagner BillWagner merged commit df92915 into dotnet:main Jul 9, 2024
@BillWagner BillWagner deleted the update-ref-errors branch July 9, 2024 18:16
@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.

[C# 13]: New Feature - Allow ref and unsafe in iterators and async

3 participants