Skip to content

fixed-size buffer syntax #318

@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.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.

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