Those of you who have switched over to xUnit.Net may have a received a nasty surprise with the 'type members layout' feature of ReSharper: it doesn't respect method attributes. Namely, you can tell it to not reorder methods in an NUnit fixture like this:
<Pattern> <Match> <HasAttribute CLRName="NUnit.Framework.TestFixture"/> </Match> </Pattern>
But you cannot tell it to not reorder your xUnit methods like this:
<Pattern> <Match> <And Weight="100"> <Kind Is="method"/> <HasAttribute CLRName="Xunit.TestAttribute" Inherit="false"/> </And> </Match> </Pattern>
public class ReSharperNoReorderAttribute : Attribute { }
<Pattern> <Match> <HasAttribute CLRName="ReSharperNoReorder"/> </Match> </Pattern>