codecadwallader/codemaid

Wrong cleaning up in C#

Nitload-NSI opened this issue · 1 comments

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];

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