Treat stackalloc like array creation.
Fixes #1232
(It sounds like @gafter has found more issues though...)
No, not more issues. It is just the grammar validation.
Okay, so just to check, is the ball now in @Nigel-Ecma's court to validate the grammar and update the validator?
Okay, so just to check, is the ball now in @Nigel-Ecma's court to validate the grammar and update the validator?
@jskeet – Essentially yes, my earlier comment provides details.
This PR is subsumed by Grammar – Consistency & Cleanup 5 #1322. If #1322 is approved this PR should be closed.
Closing this based on Comment https://github.com/dotnet/csharpstandard/pull/1237#issuecomment-2864542420.