-
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 specificationProposalProposal champion
Milestone
Description
ref readonly
method parameters
- Proposed
- Prototype: Done
- Implementation: Done
- Specification: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-12.0/ref-readonly-parameters.md
Note: this proposal is a follow up to numerous conversations over the years about how
in
arguments are implemented in C#, both here on GitHub and on Discord (with folks like @stephentoub, @jaredpar, @tannergooding, @AaronRobinsonMSFT). To give context and cite the last example, see dotnet/runtime#67445. Opening this so we can properly review it and hopefully start making some progress.
See https://github.com/dotnet/csharplang/blob/main/proposals/csharp-12.0/ref-readonly-parameters.md
Design Meetings
- https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-04-25.md#ref-readonly-method-parameters
- https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-05-09.md#ref-readonly-parameters
- https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-05-11.md#ref-readonly-method-parameters
HurricanKai, DaZombieKiller, aromaa, tannergooding, TahirAhmadov and 28 moreMirsario and controlflowgerhard17
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 specificationProposalProposal champion