csharpstandard icon indicating copy to clipboard operation
csharpstandard copied to clipboard

Support new stackalloc expression locations

Open RexJaeschke opened this issue 1 year ago • 2 comments

RexJaeschke avatar Mar 12 '24 16:03 RexJaeschke

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.

jskeet avatar Mar 27 '24 20:03 jskeet

Neal is going to make the change - either in this PR or in one which supercedes it.

jskeet avatar Mar 27 '24 20:03 jskeet