Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed-size buffer syntax #318

Open
sharpchen opened this issue Apr 11, 2024 · 0 comments
Open

fixed-size buffer syntax #318

sharpchen opened this issue Apr 11, 2024 · 0 comments

Comments

@sharpchen
Copy link

sharpchen commented Apr 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant