Commit graph

2 commits

Author SHA1 Message Date
Julien Couvreur d437a2a6aa
Move C# 7.3 proposals to sub-folder (#1384) 2018-03-15 23:36:16 -07:00
vsadov 183b8d1eed Stackalloc array initializers.
Ordinary arrays can be created through the following syntax:

```C#
new int[3]
new int[3] { 1, 2, 3 }
new int[] { 1, 2, 3 }
new[] { 1, 2, 3 }
```

We should allow stack allocated arrays be created through:

```C#
stackalloc int[3]				// currently allowed
stackalloc int[3] { 1, 2, 3 }
stackalloc int[] { 1, 2, 3 }
stackalloc[] { 1, 2, 3 }
```
2017-11-20 13:38:51 -08:00