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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C#: [TEST ONLY] Test example with ref local, unsafe context and ref struct in async- and iterator methods. #18498

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelnebel
Copy link
Contributor

For C# 13 we are now allowed to use ref locals, ref structs and unsafe context in iterators and async methods as described here.
In this PR we just add some code examples to check that this compiles and doesn't fail during extraction.

@github-actions github-actions bot added the C# label Jan 15, 2025
@michaelnebel michaelnebel marked this pull request as ready for review January 15, 2025 14:23
@Copilot Copilot bot review requested due to automatic review settings January 15, 2025 14:23
@michaelnebel michaelnebel requested a review from a team as a code owner January 15, 2025 14:23

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • csharp/ql/test/library-tests/async/Async.expected: Language not supported
  • csharp/ql/test/library-tests/async/Await.expected: Language not supported
  • csharp/ql/test/library-tests/iterators/iterators.expected: Language not supported
  • csharp/ql/test/library-tests/iterators/iterators.ql: Language not supported

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant