codeformatter icon indicating copy to clipboard operation
codeformatter copied to clipboard

Simple gets are moved to the next line when they have an attribute

Open bartonjs opened this issue 10 years ago • 0 comments

I haven't verified with a minimal repro, but based on cases where this has been seen it seems like

public bool SimpleProperty
{
    [Pure]
    get { return false; }
}

will be rewritten as

public bool SimpleProperty
{
    [Pure]
    get
    { return false; }
}

which is not the desired state for corefx.

bartonjs avatar May 14 '15 14:05 bartonjs