Ordering Rules with StyleCop

Hi,

I'm working with ReSharper and StyleCop in VS 2015. The configuration of the stylecop worked pretty good so far. Now I would like to set rules for the ordering in the file. For Example, members before the constructor, methos behind the constructor and so on.

I could only find Options | Code Editing | C# | File Layout and there are some possibilitys to order the code. But if I change code on purpose to the wrong order, I don't get any warning from StyleCop. Is there any possibility to do that?

Thanks for your help

0

Please sign in to leave a comment.