-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing some edge cases with sorting usings (#984)
* Tracking down bugs with sorting usings closes #981 * Fixing the edge cases
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
Src/CSharpier.Tests/FormattingTests/TestFiles/cs/UsingDirectives_DirectiveGroupLast.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using System; | ||
using static SomeOtherNamespace; | ||
using SomeAlias = SomeNamespace; | ||
#if DEBUG | ||
using SomeDebugNamespace; | ||
#endif | ||
|
||
public static class ODataEdmModelProvider { } |
3 changes: 3 additions & 0 deletions
3
Src/CSharpier.Tests/FormattingTests/TestFiles/cs/UsingDirectives_SortsAliasInGlobals.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
global using Nest7; | ||
global using Newtonsoft.Json; | ||
global using Nest = Nest7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters