-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Proposal: Supporting C# 7 deconstruction of certain types. #19397
Copy link
Copy link
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Collectionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorswishlistIssue we would like to prioritize, but we can't commit we will get to it yetIssue we would like to prioritize, but we can't commit we will get to it yet
Milestone
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Collectionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorswishlistIssue we would like to prioritize, but we can't commit we will get to it yetIssue we would like to prioritize, but we can't commit we will get to it yet
Type
Fields
Give feedbackNo fields configured for issues without a type.
Background
C# 7 added support for deconstruction of user-defined types via a
Deconstruct(out ...)method. (see it in action) It would make sense to be able to use this feature with tuple-like types such asKeyValuePairandDictionaryEntry.Proposal
Usage