Skip to content

[Version 11.0] Feature support for checked user defined operators - #1585

Draft
RexJaeschke wants to merge 14 commits into
draft-v11from
v11-checked-user-defined-operators
Draft

RexJaeschke wants to merge 14 commits into
draft-v11from
v11-checked-user-defined-operators

Conversation

@RexJaeschke

Copy link
Copy Markdown
Contributor

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

@RexJaeschke RexJaeschke added this to the C# 11 milestone Mar 1, 2026
@RexJaeschke RexJaeschke added type: feature This issue describes a new feature Review: pending Proposal is available for review labels Mar 1, 2026
@RexJaeschke
RexJaeschke marked this pull request as draft March 1, 2026 20:28
@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from 7dd9fa5 to d1995d7 Compare April 29, 2026 20:01
@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from e176c57 to 26a8977 Compare May 13, 2026 15:45
@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from 26a8977 to c210eb9 Compare June 24, 2026 20:19
@BillWagner

Copy link
Copy Markdown
Member

An earlier version of this feature is already present on v11-alpha from a prior meeting. Edits made to this PR since then are not yet on v11-alpha; they will land at the next propagation. If you need them on v11-alpha sooner, please open a separate PR targeting v11-alpha.
Thanks!

@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from c210eb9 to b70ae42 Compare July 24, 2026 19:56
@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch 4 times, most recently from 59bc5d6 to c57da6d Compare September 21, 2026 19:13
@RexJaeschke

Copy link
Copy Markdown
Contributor Author

I just noted that the 5 methods added to type Expression<TDelegate> each take an argument of type MethodInfo, which is not defined. In my current VS implementation that type is in System.Reflection. Do we want to declare that type as well? If not, how do we deal with these 5 new methods?

@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from c57da6d to 1b54b51 Compare October 14, 2026 18:11
BillWagner added a commit that referenced this pull request Oct 14, 2026
[Version 11.0] Feature support for checked user defined operators
Authoritative source v11-checked-user-defined-operators c57da6d; reviewed-source replay 9f99a55.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
BillWagner added a commit that referenced this pull request Oct 14, 2026
Preserve all sixteen original historical-order integrations and include final feature tip 1b54b51.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
RexJaeschke and others added 12 commits November 12, 2026 16:04
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Thiese are primarily omissions that ripple from the changes already described in this PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Mechanical whitespace-only repair during C# 11 source preparation; feature authoring placeholders and normative intent are unchanged. No section-renumber tool invoked.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
…ic aggregate

Preserve source-owned feature intent and approved predecessor precedence. Static-interface fallback phases remain intact; expression E applicability, absent-source-type guards and identity deduplication are not replaced by speculative older feature text. No feature numbering tool invoked.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
@BillWagner
BillWagner force-pushed the v11-checked-user-defined-operators branch from 1b54b51 to da56e96 Compare November 12, 2026 23:37
BillWagner added a commit that referenced this pull request Nov 12, 2026
Preserve current validated source da56e96 in the frozen historical active-feature order, based on finalized predecessor and current owning draft.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Additional clarifications for user defined checked operators.
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