Comments (3)
I can't investigate this further right now, but I think that SA1217 is affected by the systemUsingDirectivesFirst configuration, which is true by default. This would make the behavior you're seeing by design. I see that the Configuration.md page doesn't mention SA1217, though.
from stylecopanalyzers.
Just tried it and it was as I wrote: SA1217 is affected by the systemUsingDirectivesFirst setting. Can I assume that it is not set to false in your stylecop.json file? If so, then what you report is the expected behavior. If you don't want this behavior, then you can set it to false, but that will affect non-static using statements as well.
from stylecopanalyzers.
The Configuration.md documentation page does however not mention that SA1210 and SA1217 are affected by the systemUsingDirectivesFirst setting. This seems like an oversight.
from stylecopanalyzers.
Related Issues (20)
- Flags enums should be sorted HOT 1
- SA1013 fires for escaped closing brace in a multi-line interpolated verbatim string HOT 1
- conflict SA1024 and SA1009 HOT 1
- stylecop.analyzers is missing NuGet package README file
- `SA1629` code fix eats ending semicolon of XML entity
- `SA1402` Should not apply to file-scoped types HOT 1
- Missing period SA1629 should not trigger inside <example> tags. HOT 2
- `SA1629` should ignore `<example>` since a trailing period is often not valid input. HOT 2
- Rules contradicting C# naming conventions HOT 3
- SA1629 demands period for Value text HOT 2
- SA1202 fires for dependent members HOT 3
- [FP] When ``documentInternalElements`` is ``false`` in stylecop.json and it sees ``internal interface`` type. HOT 5
- SA1118 triggers for collection expression when List constructors worked just fine HOT 2
- SA1008, SA1012: false positives for property pattern inside parentheses HOT 3
- System.NullReferenceExceptions with v 1.1.118 HOT 2
- `SA1010` should not fire for collection expressions HOT 2
- Do not warn SA1001 (Commas should be spaced correctly) if comma follows a preprocessor directive HOT 4
- SA1004 false-positive when first token on XML doc line is out keyword from wrapped params in <see cref="...."/>
- Will there be a release? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylecopanalyzers.