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

ref struct has ref keyword removed on with automatic cleanup on save #1060

Open
dangolick opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@dangolick
Copy link

Environment

  • Visual Studio version: 2022 17.11.3
  • CodeMaid version: 12.0
  • Code language: C#

Description

public ref struct Foo
{
...
}

  1. Modify file
  2. Save file.
    result ref is removed:
    public struct Foo
    {
    ...
    }

Current behavior

ref is required for the file to compile

Expected behavior

No change to the class signature

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

1 participant