Skip to content

[Version 13.0] Feature support for ref struct improvements - #1780

Draft
RexJaeschke wants to merge 6 commits into
draft-v13from
v13-ref-struct-improvements
Draft

[Version 13.0] Feature support for ref struct improvements#1780
RexJaeschke wants to merge 6 commits into
draft-v13from
v13-ref-struct-improvements

Conversation

@RexJaeschke

Copy link
Copy Markdown
Contributor

This is Rex's adaptation of the corresponding MS proposal.

Notes on the MS proposal:

  1. using statement: The Draft PR text in 13.14 The using statement|13.14.1 General, starting with “For ref struct resources, the only semantically equivalent formulation is” might need revision.
  2. foreach statement: I made no changes. However, the MS spec text in 13.9.5.3, await foreach, starting with “- Otherwise, if E is a ref struct type and has an accessible Dispose() method, the finally clause is expanded to the semantic equivalent of:” might need revision.
  3. Delegate type for the anonymous function or method group: I made no changes.
  4. Inline arrays: I made no changes.
  5. Soundness: I made no changes.
  6. Open issues: I made no changes.
  7. Considerations: I made no changes.

@RexJaeschke RexJaeschke added this to the C# 13 milestone Aug 13, 2026
@RexJaeschke RexJaeschke added type: feature This issue describes a new feature Review: pending Proposal is available for review labels Aug 13, 2026
@RexJaeschke
RexJaeschke marked this pull request as draft August 13, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review: pending Proposal is available for review type: feature This issue describes a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant