diff options
-rw-r--r-- | ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs b/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs index 56dbd39e..90463057 100644 --- a/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs +++ b/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs @@ -1832,6 +1832,9 @@ namespace ICSharpCode.NRefactory.CSharp StartNode(destructorDeclaration); WriteAttributes(destructorDeclaration.Attributes); WriteModifiers(destructorDeclaration.ModifierTokens); + if (destructorDeclaration.ModifierTokens.Any()) { + Space(); + } WriteToken(DestructorDeclaration.TildeRole); TypeDeclaration type = destructorDeclaration.Parent as TypeDeclaration; if (type != null && type.Name != destructorDeclaration.Name) |