csharpstandard
csharpstandard copied to clipboard
Support new stackalloc expression locations
From discussion, we should reimplement this PR to look more like https://github.com/dotnet/csharplang/blob/main/proposals/csharp-8.0/nested-stackalloc.md - that doesn't talk about a conversion from pointer types, and explains the oddity of the change of type when the expression is parenthesized.
Neal is going to make the change - either in this PR or in one which supercedes it.