Skip to content

'required' isn't offered in records #62421

@Youssef1313

Description

@Youssef1313
record R
{
    public req$$
}

It should be offered here.

private static readonly ISet<SyntaxKind> s_validTypeDeclarations = new HashSet<SyntaxKind>(SyntaxFacts.EqualityComparer)
{
SyntaxKind.StructDeclaration,
SyntaxKind.ClassDeclaration,
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBugFeature - Required MembersRequired properties and fieldshelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions