Skip to content

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

@jcouv

Description

@jcouv

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions