You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The Configuration.md documentation page does however not mention that SA1210 and SA1217 are affected by the systemUsingDirectivesFirst setting. This seems like an oversight.
Version used: 1.2.0-beta.556
SA1217 fires incorrectly when the following items are placed alphabetically and doesn't fire if
System.Convert
is specified first:The text was updated successfully, but these errors were encountered: