Skip to content

Commit 1cbbe17

Browse files
committed
Updated KnownChanges.md with entry for SA1210
1 parent 7e69f3e commit 1cbbe17

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

documentation/KnownChanges.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,25 @@ StyleCop Analyzers only considers using directives to be "System" using directiv
157157
while StyleCop Classic ignored the alias. For example, `using global::System;` would be not be considered a System using
158158
directive by StyleCop Analyzers, but it would be considered a System using directive by StyleCop Classic.
159159

160+
### SA1210
161+
162+
StyleCop Analyzers considers alias-qualifiers when sorting using directives, in order to match the default behavior of
163+
Visual Studio 2015. StyleCop Classic ignores alias-qualifiers when sorting using directives.
164+
165+
Example showing sorting order for StyleCop Analyzers:
166+
```csharp
167+
using Beer;
168+
using global::Wine;
169+
using Tea;
170+
```
171+
172+
Example showing sorting order for StyleCop Classic:
173+
```csharp
174+
using Beer;
175+
using Tea;
176+
using global::Wine;
177+
```
178+
160179
### SA1214
161180

162181
StyleCop Classic only reports SA1214 for violations involving static fields. In StyleCop Analyzers, SA1214 and SA1215

0 commit comments

Comments
 (0)