codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

The keyword `file` will be changed to `internal`.

Open emako opened this issue 8 months ago • 2 comments

Environment

  • Visual Studio version: [example 2022 Community]
  • CodeMaid version: [12.0]
  • Code language: [C#11]

Description

Replace this text with a short description and code sample. image Any switch to disable this func?

Steps to recreate

  1. Replace this
  2. text with
  3. the steps
  4. to recreate

Current behavior

Explain what it's doing and why it's wrong. The keyword file will be changed to internal.

Expected behavior

Explain what it should be doing after it's fixed. Keep file keyword.

emako avatar Nov 01 '23 11:11 emako

Code sample:

file static class BitmapExtension
{
}

emako avatar Nov 01 '23 11:11 emako

Thanks for reporting the issue. There is a known issue with the VS2022 SDK that has not been resolved which is causing issues with some declarations. The recommendation is to disable the insertion of explicit access modifiers in CodeMaid's configuration to bypass the issue for now. Please see #879 for more details.

codecadwallader avatar Nov 24 '23 17:11 codecadwallader