Skip to content

Conversation

bigboybamo
Copy link
Contributor

@bigboybamo bigboybamo commented Oct 8, 2025

Summary

State how a return is used in a using or block

Fixes #48888


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/statements/using.md docs/csharp/language-reference/statements/using

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks @bigboybamo

This LGTM, and I'll :shipit:

@BillWagner BillWagner enabled auto-merge (squash) October 8, 2025 13:00
@BillWagner BillWagner merged commit 5735e76 into dotnet:main Oct 8, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc lang-reference/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

State behavior for return statements in a using statement context

2 participants