Browse Source

changed formatting of the C# Case statement

pull/275/head
Artur Zgodziński 14 years ago
parent
commit
1627337fcc
  1. 3
      NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs

3
NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs

@ -1738,8 +1738,9 @@ namespace ICSharpCode.NRefactory.CSharp @@ -1738,8 +1738,9 @@ namespace ICSharpCode.NRefactory.CSharp
formatter.Indent ();
foreach (var statement in switchSection.Statements) {
NewLine ();
statement.AcceptVisitor (this, data);
if(switchSection.NextSibling != null)
NewLine();
}
if (policy.IndentCaseBody)

Loading…
Cancel
Save