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

Allow unsafe blocks in iterators #73046

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test name
  • Loading branch information
jjonescz committed May 2, 2024
commit 9c48d3187e59baf6c0399bbf7262d71da11d98c5
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ unsafe class C
}

[Theory, CombinatorialData]
public void UnsafeContext_Property_Iterator_Signature_UnsafeIndexer(bool unsafeClass)
public void UnsafeContext_Property_Iterator_Signature_UnsafeProperty(bool unsafeClass)
{
var code = $$"""
{{(unsafeClass ? "unsafe" : "")}} class C
Expand Down