You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "required" keyword is being removed when code cleanup is done on the file.
Steps to recreate
Sample class. Run CodeMaid on this file.
public abstract Test
{
public required string Name { get; set; }
}
Current behavior
The "required" keyword is being removed.
Expected behavior
The "required" keyword should remain. It is a valid C#11 keyword and used to enforce the initialization of properties and fields within a class, record, or struct.
The text was updated successfully, but these errors were encountered:
Environment
Description
The "required" keyword is being removed when code cleanup is done on the file.
Steps to recreate
Sample class. Run CodeMaid on this file.
Current behavior
The "required" keyword is being removed.
Expected behavior
The "required" keyword should remain. It is a valid C#11 keyword and used to enforce the initialization of properties and fields within a class, record, or struct.
The text was updated successfully, but these errors were encountered: