Skip to content

[Proposal]: ref readonly method parameters (VS 17.8, .NET 8) #6010

@Sergio0694

Description

@Sergio0694

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 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions