Open FStapenhorst opened 2 years ago
Thanks for reporting the issue. I am able to reproduce it. It seems to be caused by the setting at CodeMaid->Options->Cleaning->Insert->Insert explicit access modifiers on fields. There are other similar bug reports where trying to check the access modifier is causing a side effect in VS2022's APIs. As a workaround you could disable this option for the time being.
Ran into the same problem in VS22 today.
Similarly, it's removing readonly
on properties.
Environment
Description
When cleaning this block
the keyword "fixed" is removed which results in compilation error.
See settings attached.