csharp-tmLanguage icon indicating copy to clipboard operation
csharp-tmLanguage copied to clipboard

fixed-size buffer syntax

Open sharpchen opened this issue 10 months ago • 0 comments

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.0 What color theme are you using? dark plus

Repro

unsafe struct B
{
    public fixed byte Buffer[30];
}
struct C
{
    public const int length = 30;
    public unsafe fixed byte Buffer[length];
}

code image

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

sharpchen avatar Apr 11 '24 16:04 sharpchen