Open mrecuerda opened 2 years ago
Thanks for reporting the issue. There is a known issue with the SDK that underlies the access modifiers which is causing a lot of issues. Please see #879 for more details and a link to the Roslyn SDK issue. The recommended workaround for now is to disable inserting explicit access modifiers.
Environment
Description
When activating "Insert explicit access modifiers on properties", the C# 11
required
keyword is removed.Steps to recreate
Current behavior
The
required
keyword is removed when cleaning the document.Expected behavior
The
required
keyword should remain present.