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

Wrong cleaning up in C# #1047

Open
Nitload-NSI opened this issue Mar 16, 2024 · 1 comment
Open

Wrong cleaning up in C# #1047

Nitload-NSI opened this issue Mar 16, 2024 · 1 comment

Comments

@Nitload-NSI
Copy link

Environment

  • Visual Studio version: 2022
  • Code language: C#

Description

When cleaning up C# code containing unsafe code of fixed-size buffer, CodeMaid will automatically remove the "fixed" keyword, causing an error.

As the fallowing:

private fixed char name[30];

After cleaning up:

private char name[30];

@pankaj-nikam
Copy link

It also removes the required keyword if we add to a property.

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

2 participants