Skip to content

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

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

RexJaeschke wants to merge 7 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
BillWagner added a commit that referenced this pull request Aug 18, 2026
…truct improvements

Source: #1780
Head SHA: 2bf05f5

Apply ref struct improvements feature patch from PR #1780 to alpha-v13.
5 files modified: classes.md, lexical-structure.md, standard-library.md,
statements.md, structs.md
@BillWagner
BillWagner force-pushed the v13-ref-struct-improvements branch from 2bf05f5 to 0f1d4d9 Compare September 22, 2026 14:57
RexJaeschke and others added 7 commits October 14, 2026 15:16
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
…ture #1780

Controlled merge retains all authored feature commits and existing review tip; no section tool invoked on this source.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
@BillWagner
BillWagner force-pushed the v13-ref-struct-improvements branch from c506f5c to f466471 Compare October 14, 2026 20:37
BillWagner added a commit that referenced this pull request Oct 14, 2026
[Version 13.0] Feature support for ref struct improvements
Authoritative original head c506f5c; complete ordered replay e9406ac.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
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.

2 participants