tags:

views:

21

answers:

1

Hi!

I suspect I should create a pattern in ReSharper / Options / Languages / C# / Formatting Style / Type Membership Layout for this. I am currently using the default pattern and I would like some help from someone who is good at them.

I want this to be WRONG:

public new static Age Empty {
    get {
        return empty;
    }

    set {
        empty = value;
    }
}

And this to be right:

public static new Age Empty {
    get {
        return empty;
    }

    set {
        empty = value;
    }
}

In other words, I want static to come before other keywords, like new. Currently ReSharper 5.1 does it the "wrong" way.

A: 

It is impossible.

Binary255

related questions