Skip to content

stackalloc for pointer array declaration #319

@sharpchen

Description

@sharpchen

Details

What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.)
vscode
What version of the editor are you using?
1.88.1
What color theme are you using?
dark plus

Repro

unsafe
{
    int* p = stackalloc int[10];
    int** pp = stackalloc int*[10];
    int*** ppp = stackalloc int**[10];
    int**** pppp = stackalloc int***[10];
}

image

Please provide a code example and (optionally) a screenshot demonstrating the problem.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions