Skip to content

[Version 9.0] Feature support for lambda discards#1464

Open
BillWagner wants to merge 2 commits intodraft-v9from
v9-lambda-discards
Open

[Version 9.0] Feature support for lambda discards#1464
BillWagner wants to merge 2 commits intodraft-v9from
v9-lambda-discards

Conversation

@BillWagner
Copy link
Member

This replaces #995

@RexJaeschke RexJaeschke added this to the C# 9.0 milestone Nov 11, 2025
@RexJaeschke RexJaeschke added type: feature This issue describes a new feature Review: pending Proposal is available for review labels Nov 11, 2025
@BillWagner BillWagner self-assigned this Jan 16, 2026
@BillWagner BillWagner added the meeting: discuss This issue should be discussed at the next TC49-TG2 meeting label Jan 26, 2026
@BillWagner BillWagner marked this pull request as ready for review January 26, 2026 16:53
@BillWagner
Copy link
Member Author

@jskeet This is very small, and ready for a first look at our next meeting.

Copy link
Contributor

@jskeet jskeet left a comment

Choose a reason for hiding this comment

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

Remarkably simple - slightly odd, but I can see how it gets the desired effect.

Found a number of locations where discards should be mentioned in the context of lambda expressions or anonymous functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meeting: discuss This issue should be discussed at the next TC49-TG2 meeting 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.

3 participants