[Proposal]: Method group natural type improvements (VS 17.9, .NET 9) #7429
Labels
Implemented Needs ECMA Spec
This feature has been implemented in C#, but still needs to be merged into the ECMA specification
Proposal champion
Proposal
Milestone
Method group natural type improvements
Summary
The proposal is that the natural/weak type of a method group should be determined by looking scope-by-scope and pruning inapplicable candidates as soon as possible, instead of considering all scopes at once and letting those inapplicable candidates fail the determination process.
Motivation
The motivation for the scope-by-scope approach is to prepare a better foundation for the extension types work.
The motivation for the early pruning approach is to better align with the principle used in overload resolution.
Detailed design
See https://github.com/dotnet/csharplang/blob/main/proposals/method-group-natural-type-improvements.md
Design meetings
The text was updated successfully, but these errors were encountered: