Skip to content

Merge main into live #48002

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

Merged
merged 5 commits into from
Aug 19, 2025
Merged

Merge main into live #48002

merged 5 commits into from
Aug 19, 2025

Conversation

fcdeveloper00 and others added 5 commits August 18, 2025 13:24
using static doesn't require a fully qualified type if it is in the scope of a namespace.
see:
https://github.com/dotnet/csharpstandard/blob/standard-v6/standard/namespaces.md#1354-using-static-directives
here the grammar is:
> using_static_directive
>    : 'using' 'static' type_name ';'
>    ;
…f/else in catch blocks (#47887)

* Initial plan

* Add detailed explanation of when keyword and exception filters

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>

* Update docs/csharp/language-reference/statements/exception-handling-statements.md

* Update docs/csharp/language-reference/statements/exception-handling-statements.md

* Address review feedback: Add stack trace preservation explanation

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>

* Address review feedback: Fix punctuation, emphasis, headings and list formatting

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
* Clarify `with` initialization order

Fixes #47503

In articles where `record` and `with` expressions are explained, add details about the order of initialization and with expressions. Provide guidance to compute the property value on access, not initialization.

* Grammar pass + build issues

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

---------

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@dotnetrepoman dotnetrepoman bot added this to the August 2025 milestone Aug 19, 2025
@dotnet-policy-service dotnet-policy-service bot merged commit f1313e8 into live Aug 19, 2025
26 checks passed
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.

4 participants