ReSharper conflict with Stylecop over using directive order SA1210 SA1211 -


Style code 4.7 Rules SA1210 and SA1211 need to be used to sort in alphabetical order. I have participated in the conflict between the rules of style and the applicable sort of rushper: case-sensitive

Razor displays insensitive type in case of 8.2 directions, while case rules for stylecaps require a sensitive type of case. Therefore, I ran into a strange case (not my own) with the following instructions due to bad name space selection (not mine):

  AB Use common; Using Ab.Utility;  

Contracts first ctrl-E-F; But due to the difference between AB and AB, the rule requires utility for the first time. I have saved it by removing the stylecaps rule and have just given the rearrangement of Rusharp to the government. Undoubtedly the namespace should be reprocessed, but I do not have this option.

Any other opinion about handling other methods besides closing the style code?

Close the StyleCop rule seems like the best answer, to see the order, ReSepar and StyleCop There is no need for both.

But if you want to put them on both, you can name something like namespaces:

  common = ab common; Utility = ab. Utility;  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -