Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

update and consolidate errors related to iterators and yield #41632

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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 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.

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
2 participants