-
-
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.
closes #678
- Loading branch information
Showing
4 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
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
47 changes: 47 additions & 0 deletions
47
Src/CSharpier.Tests/FormattingTests/TestFiles/CSharpierIgnore.expected.cst
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,47 @@ | ||
// csharpier-ignore | ||
public class Unformatted { } | ||
|
||
public class ClassName | ||
{ | ||
// csharpier-ignore | ||
private string unformatted; | ||
|
||
public void MethodName() | ||
{ | ||
// csharpier-ignore | ||
var unformatted = true; | ||
|
||
if (true) | ||
{ | ||
// csharpier-ignore | ||
var unformatted = true; | ||
} | ||
} | ||
|
||
void MethodName() | ||
{ | ||
var formatMe = true; | ||
// csharpier-ignore-start | ||
var unformatted = true; | ||
var unformatted = true; | ||
// csharpier-ignore-end | ||
var formatMe = true; | ||
} | ||
|
||
void MethodName() | ||
{ | ||
var formatMe = true; | ||
// csharpier-ignore-start | ||
var unformatted = true; | ||
var unformatted = true; | ||
// csharpier-ignore-end | ||
} | ||
|
||
void MethodName() | ||
{ | ||
var formatMe = true; | ||
// csharpier-ignore-start | ||
var unformatted = true; | ||
var unformatted = true; | ||
} | ||
} |
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
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