S
S
Sergey Karbivnichy2019-02-27 14:54:28
C++ / C#
Sergey Karbivnichy, 2019-02-27 14:54:28

StyleCop - Is Microsoft contradicting itself?

I am using Visual Studio 2013 and StyleCop 6.0. StyleCop shows warnings "SA1200 : CSharp.Ordering : All using directives must be placed inside of the namespace." But I have almost never seen code where using is inside a namespace. I even reviewed the examples from MSDN, they first go using's, and then namespace. The same code is generated by the studio. How to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question