Skip to content

CSharpier deletes arguments of primary constructor on struct #1067

@superdweebie

Description

@superdweebie
public struct Test(string arg1)
{
    public string Arg1 { get; } = arg1;
}

becomes:

public struct Test
{
    public string Arg1 { get; } = arg1;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions