Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal]: Inline arrays (VS 17.7, .NET 8) #7431

Open
3 of 4 tasks
jcouv opened this issue Aug 8, 2023 · 5 comments
Open
3 of 4 tasks

[Proposal]: Inline arrays (VS 17.7, .NET 8) #7431

jcouv opened this issue Aug 8, 2023 · 5 comments
Assignees
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

Comments

@jcouv
Copy link
Member

jcouv commented Aug 8, 2023

Inline arrays

  • Proposed
  • Prototype: Done
  • Implementation: Done
  • Specification: Not Started

Summary

This feature recognizes the special meaning of the [InlineArray] attribute, allows indexing into such inline array types and enumerating their elements.

See https://github.com/dotnet/csharplang/blob/main/proposals/csharp-12.0/inline-arrays.md

Design meetings

https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-06-17.md#inline-arrays-as-record-structs

@jcouv jcouv added this to the 12.0 milestone Aug 8, 2023
@jcouv jcouv added Proposal Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification labels Sep 17, 2024
@jcouv jcouv changed the title [Proposal]: Inline arrays [Proposal]: Inline arrays (VS 17.7, .NET 8) Sep 17, 2024
@alrz

This comment has been minimized.

@jnm2

This comment has been minimized.

@alrz

This comment has been minimized.

@jnm2

This comment has been minimized.

@333fred
Copy link
Member

333fred commented Jan 7, 2025

I'm locking this issue as all of our issues should be locked in the new repo organization; apologies that it wasn't locked already. Feel free to start a discussion to continue this topic.

@dotnet dotnet locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

5 participants