dotnet / csharplang

The official repo for the design of the C# programming language
11.38k stars 1.02k forks source link

[Proposal]: ref readonly method parameters #6010

Open Sergio0694 opened 2 years ago

Sergio0694 commented 2 years ago

ref readonly method parameters

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 https://github.com/dotnet/runtime/issues/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

soroshsabz commented 2 years ago

related to #188