Skip to content

Extend array initializers to stackalloc arrays #4772

Closed
@BillWagner

Description

@BillWagner

This feature enables array initializer syntax to be used with stackalloc arrays:

stackalloc int[3]				// currently allowed
stackalloc int[3] { 1, 2, 3 }
stackalloc int[] { 1, 2, 3 }
stackalloc[] { 1, 2, 3 }

The proposal for this feature is here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions