Closed chechy closed 2 years ago
when cs code file contains #if NET6_0 [Obsolete] #endif , after save, CodeMaid will remove #endif , this will cause compiler doesnot compile code.
any code, when write this
[Obsolete]
save this file (auto run CodeMaid),#endif will be removed
Thanks for reporting the issue. We are aware of it and working on it with Microsoft (bug introduced in latest SDK). See #879 for more details
Thanks, to disable methods can avoid it.
Environment
Description
when cs code file contains #if NET6_0 [Obsolete] #endif , after save, CodeMaid will remove #endif , this will cause compiler doesnot compile code.
Steps to recreate
any code, when write this
if NET6_0
endif
save this file (auto run CodeMaid),#endif will be removed
Current behavior
Expected behavior