-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal championSmallish Feature
Milestone
Description
The proposal is to declare a local function as non-capturing. The keyword to indicate that would be static.
Note: if we do this, then we should also consider allowing parameters and locals of the local function to shadow parameters and locals from the containing method.
- Proposal added
- Discussed in LDM
- Decision in LDM
- Finalized (done, rejected, inactive)
- Spec'ed
Related discussion thread, including a discussion of "capture lists" (a more elaborate feature): #1277
Note: EE scenarios are a concern.
Do we want to allow some other modifiers (like unsafe)?
LDM history:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal championSmallish Feature