Skip to content

AV2400: Add exception for simple properties? #273

@bkoelman

Description

@bkoelman

Rule "Use a common layout (AV2400)" states:

Always put opening and closing curly braces on a new line.

I'm wondering if an exception should be added for simple properties/events, which would require to use:

public string Value { get; set; } = "default";

instead of:

public string Value
{
    get; set;
}
= "default";

Thoughts?

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